Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -330,7 +330,7 @@ with tab1:
|
|
330 |
# Handle restart button click
|
331 |
if restart_button:
|
332 |
st.session_state.restart_clicked = True
|
333 |
-
st.experimental_rerun()
|
334 |
|
335 |
# Display prediction
|
336 |
if predict_button:
|
|
|
330 |
# Handle restart button click
|
331 |
if restart_button:
|
332 |
st.session_state.restart_clicked = True
|
333 |
+
st.rerun() # Using st.rerun() instead of st.experimental_rerun()
|
334 |
|
335 |
# Display prediction
|
336 |
if predict_button:
|