Update app.py
Browse files
app.py
CHANGED
|
@@ -31,8 +31,8 @@ def login():
|
|
| 31 |
if submit_clicked:
|
| 32 |
if password == APP_PASSWORD:
|
| 33 |
st.session_state["authenticated"] = True
|
| 34 |
-
#
|
| 35 |
-
st.
|
| 36 |
else:
|
| 37 |
st.error("Incorrect password")
|
| 38 |
|
|
|
|
| 31 |
if submit_clicked:
|
| 32 |
if password == APP_PASSWORD:
|
| 33 |
st.session_state["authenticated"] = True
|
| 34 |
+
# Reload the page to show the content after authentication
|
| 35 |
+
st.experimental_rerun()
|
| 36 |
else:
|
| 37 |
st.error("Incorrect password")
|
| 38 |
|