Spaces:
Running
Running
fix rerun issue
Browse files
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()
|