Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -2
src/streamlit_app.py
CHANGED
|
@@ -23,6 +23,7 @@ from src.parameters import (
|
|
| 23 |
wx_api_key,
|
| 24 |
wx_project_id,
|
| 25 |
wx_url,
|
|
|
|
| 26 |
)
|
| 27 |
from src.helper_functions import (
|
| 28 |
setup_watsonxai_client,
|
|
@@ -57,7 +58,7 @@ def check_password():
|
|
| 57 |
key="password",
|
| 58 |
)
|
| 59 |
st.divider()
|
| 60 |
-
st.info(
|
| 61 |
return False
|
| 62 |
elif not st.session_state["password_correct"]:
|
| 63 |
st.markdown("\n\n")
|
|
@@ -68,7 +69,7 @@ def check_password():
|
|
| 68 |
key="password",
|
| 69 |
)
|
| 70 |
st.divider()
|
| 71 |
-
st.info(
|
| 72 |
st.error("😕 Password incorrect")
|
| 73 |
return False
|
| 74 |
else:
|
|
|
|
| 23 |
wx_api_key,
|
| 24 |
wx_project_id,
|
| 25 |
wx_url,
|
| 26 |
+
info_tag
|
| 27 |
)
|
| 28 |
from src.helper_functions import (
|
| 29 |
setup_watsonxai_client,
|
|
|
|
| 58 |
key="password",
|
| 59 |
)
|
| 60 |
st.divider()
|
| 61 |
+
st.info(info_tag)
|
| 62 |
return False
|
| 63 |
elif not st.session_state["password_correct"]:
|
| 64 |
st.markdown("\n\n")
|
|
|
|
| 69 |
key="password",
|
| 70 |
)
|
| 71 |
st.divider()
|
| 72 |
+
st.info(info_tag)
|
| 73 |
st.error("😕 Password incorrect")
|
| 74 |
return False
|
| 75 |
else:
|