Vishaltiwari2019 commited on
Commit
070f03e
1 Parent(s): ef94dec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -14
app.py CHANGED
@@ -1,14 +1,14 @@
1
- import streamlit as st
2
- from view_page import StockDashboard
3
- from model_page import StockModelPage
4
-
5
- def main():
6
- st.set_page_config(layout='wide', page_title='Stock Analysis', page_icon=':dollar:')
7
- page = st.sidebar.radio('Pages', ['View Page', 'Model Page'])
8
- if page == 'View Page':
9
- StockDashboard().run()
10
- elif page == 'Model Page':
11
- StockModelPage().run()
12
-
13
- if __name__ == '__main__':
14
- main()
 
1
+ import streamlit as st
2
+ from view_page import StockDashboard
3
+ from model_page import StockModelPage
4
+
5
+ def main():
6
+ st.set_page_config(layout='wide', page_title='Stock Analysis', page_icon=':dollar:')
7
+ page = st.sidebar.radio('Pages', ['View Page', 'Model Page'])
8
+ if page == 'View Page':
9
+ StockDashboard().run()
10
+ elif page == 'Model Page':
11
+ StockModelPage().run()
12
+
13
+ if __name__ == '__main__':
14
+ main()