File size: 424 Bytes
070f03e
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import streamlit as st
from view_page import StockDashboard
from model_page import StockModelPage

def main():
    st.set_page_config(layout='wide', page_title='Stock Analysis', page_icon=':dollar:')
    page = st.sidebar.radio('Pages', ['View Page', 'Model Page'])
    if page == 'View Page':
       StockDashboard().run()
    elif page == 'Model Page':
       StockModelPage().run()

if __name__ == '__main__':
    main()