eagle0504 commited on
Commit
55a003e
1 Parent(s): 7e1a7b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ with st.sidebar:
72
  # Add a button to clear the session state
73
  if st.button("Clear Session"):
74
  st.session_state.messages = []
75
- st.experimental_rerun()
76
 
77
  # Credit:
78
  # current_year = current_year() # This will print the current year
 
72
  # Add a button to clear the session state
73
  if st.button("Clear Session"):
74
  st.session_state.messages = []
75
+ st.rerun()
76
 
77
  # Credit:
78
  # current_year = current_year() # This will print the current year