MENG21 commited on
Commit
785afca
·
1 Parent(s): 4165b0f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -180,7 +180,7 @@ def main():
180
 
181
  if st.button("Logout"):
182
  del st.session_state['credentials']
183
- st.experimental_rerun()
184
 
185
  # Function to handle OAuth callback
186
  def handle_callback():
 
180
 
181
  if st.button("Logout"):
182
  del st.session_state['credentials']
183
+ st.rerun() # Changed from st.experimental_rerun() to st.rerun()
184
 
185
  # Function to handle OAuth callback
186
  def handle_callback():