Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -225,7 +225,7 @@ with st.sidebar:
|
|
| 225 |
help="Select the neural network architecture for prediction."
|
| 226 |
)
|
| 227 |
|
| 228 |
-
prediction_days = st.slider("Prediction Horizon (Days)", 7,
|
| 229 |
|
| 230 |
if st.button("21 days ahead of the market", use_container_width=True, disabled=True):
|
| 231 |
st.session_state.run_button_clicked = True
|
|
|
|
| 225 |
help="Select the neural network architecture for prediction."
|
| 226 |
)
|
| 227 |
|
| 228 |
+
prediction_days = st.slider("Prediction Horizon (Days)", 7, 21, st.session_state.get('last_prediction_days', 7))
|
| 229 |
|
| 230 |
if st.button("21 days ahead of the market", use_container_width=True, disabled=True):
|
| 231 |
st.session_state.run_button_clicked = True
|