Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,9 +29,11 @@ def check_password():
|
|
| 29 |
st.session_state["password_correct"] = False
|
| 30 |
|
| 31 |
if "password_correct" not in st.session_state:
|
|
|
|
| 32 |
st.text_input("Enter the password", type="password", on_change=password_entered, key="password")
|
| 33 |
return False
|
| 34 |
elif not st.session_state["password_correct"]:
|
|
|
|
| 35 |
st.text_input("Enter the password", type="password", on_change=password_entered, key="password")
|
| 36 |
st.error("😕 Password incorrect")
|
| 37 |
return False
|
|
|
|
| 29 |
st.session_state["password_correct"] = False
|
| 30 |
|
| 31 |
if "password_correct" not in st.session_state:
|
| 32 |
+
st.markdown("\n\n")
|
| 33 |
st.text_input("Enter the password", type="password", on_change=password_entered, key="password")
|
| 34 |
return False
|
| 35 |
elif not st.session_state["password_correct"]:
|
| 36 |
+
st.markdown("\n\n")
|
| 37 |
st.text_input("Enter the password", type="password", on_change=password_entered, key="password")
|
| 38 |
st.error("😕 Password incorrect")
|
| 39 |
return False
|