adrish commited on
Commit
931cf7e
·
1 Parent(s): 9bc16b3

fix rerun issue

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -32,6 +32,7 @@ def authenticate():
32
  if st.button("Login"):
33
  if st.session_state["login_password"] == app_password:
34
  st.session_state["authenticated"] = True
 
35
  else:
36
  st.error("Invalid password. Please try again.")
37
  st.stop()
 
32
  if st.button("Login"):
33
  if st.session_state["login_password"] == app_password:
34
  st.session_state["authenticated"] = True
35
+ st.rerun()
36
  else:
37
  st.error("Invalid password. Please try again.")
38
  st.stop()