ifiecas commited on
Commit
0d29fbd
·
verified ·
1 Parent(s): b771194

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: