saherPervaiz commited on
Commit
faf2156
·
verified ·
1 Parent(s): 8a76421

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def health_advice_chatbot():
68
  # Option to reset form and restart
69
  if st.button("Start Over"):
70
  st.session_state.user_data = {}
71
- st.experimental_rerun()
72
 
73
  # Main function to run the chatbot
74
  def main():
 
68
  # Option to reset form and restart
69
  if st.button("Start Over"):
70
  st.session_state.user_data = {}
71
+ st.rerun()
72
 
73
  # Main function to run the chatbot
74
  def main():