QuantumLearner commited on
Commit
41c1643
·
verified ·
1 Parent(s): 18f446b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -459,7 +459,7 @@ start_date = st.sidebar.date_input(
459
  )
460
  end_date = st.sidebar.date_input(
461
  "End Date",
462
- value=st.session_state.get('end_date', pd.to_datetime("2024-01-01")),
463
  help="Select the end date for fetching the stock data."
464
  )
465
 
@@ -1371,3 +1371,12 @@ if 'data' in st.session_state:
1371
  # Display the current figure, which remains unchanged until "Run" is clicked
1372
  if 'current_fig' in st.session_state:
1373
  st.plotly_chart(st.session_state['current_fig'], use_container_width=True)
 
 
 
 
 
 
 
 
 
 
459
  )
460
  end_date = st.sidebar.date_input(
461
  "End Date",
462
+ value=st.session_state.get('end_date', pd.to_datetime("2025-01-01")),
463
  help="Select the end date for fetching the stock data."
464
  )
465
 
 
1371
  # Display the current figure, which remains unchanged until "Run" is clicked
1372
  if 'current_fig' in st.session_state:
1373
  st.plotly_chart(st.session_state['current_fig'], use_container_width=True)
1374
+
1375
+
1376
+ hide_streamlit_style = """
1377
+ <style>
1378
+ #MainMenu {visibility: hidden;}
1379
+ footer {visibility: hidden;}
1380
+ </style>
1381
+ """
1382
+ st.markdown(hide_streamlit_style, unsafe_allow_html=True)