Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,8 @@ def login():
|
|
| 31 |
if submit_clicked:
|
| 32 |
if password == APP_PASSWORD:
|
| 33 |
st.session_state["authenticated"] = True
|
| 34 |
-
|
|
|
|
| 35 |
else:
|
| 36 |
st.error("Incorrect password")
|
| 37 |
|
|
@@ -108,7 +109,7 @@ else:
|
|
| 108 |
|
| 109 |
# Add custom text after the heading, with two paragraphs
|
| 110 |
custom_text = """
|
| 111 |
-
<p>Wishing you many wonderful years ahead, filled with love, happiness, and out-of-this-world
|
| 112 |
<p>Now let me present to you the bday vid edit "20thChondiEdit"</p>
|
| 113 |
<p>I hope you like it!</p>
|
| 114 |
<p> PS: 2 decades that is old!!</p>
|
|
|
|
| 31 |
if submit_clicked:
|
| 32 |
if password == APP_PASSWORD:
|
| 33 |
st.session_state["authenticated"] = True
|
| 34 |
+
# Force the page to reload by setting query parameters
|
| 35 |
+
st.experimental_set_query_params(authenticated="true")
|
| 36 |
else:
|
| 37 |
st.error("Incorrect password")
|
| 38 |
|
|
|
|
| 109 |
|
| 110 |
# Add custom text after the heading, with two paragraphs
|
| 111 |
custom_text = """
|
| 112 |
+
<p>Wishing you many wonderful years ahead, filled with love, happiness, and out-of-this-world adventures, space girl!</p>
|
| 113 |
<p>Now let me present to you the bday vid edit "20thChondiEdit"</p>
|
| 114 |
<p>I hope you like it!</p>
|
| 115 |
<p> PS: 2 decades that is old!!</p>
|