Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -694,11 +694,6 @@ def spritual_assistant_streamlit():
|
|
| 694 |
st.title("Welcome to the Spiritual Assistant!")
|
| 695 |
st.write("You can ask questions about the Bible, Jesus, faith, and Christian life")
|
| 696 |
st.write("Type 'exit' to end the conversation.\n")
|
| 697 |
-
st.write("""🔒 **Privacy Notice:**
|
| 698 |
-
User data remains private.
|
| 699 |
-
All processing occurs **within the current session**.
|
| 700 |
-
No user data is **stored**, **shared**, or used for **model training** or any other purpose.
|
| 701 |
-
""")
|
| 702 |
|
| 703 |
# Initialize session state for chat history and user_id if they don't exist
|
| 704 |
if 'chat_history' not in st.session_state:
|
|
@@ -711,6 +706,11 @@ No user data is **stored**, **shared**, or used for **model training** or any ot
|
|
| 711 |
with st.form("login_form", clear_on_submit=True):
|
| 712 |
user_id = st.text_input("Please enter your name to begin:")
|
| 713 |
submit_button = st.form_submit_button("Login")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 714 |
if submit_button and user_id:
|
| 715 |
st.session_state.user_id = user_id
|
| 716 |
st.session_state.chat_history.append({
|
|
|
|
| 694 |
st.title("Welcome to the Spiritual Assistant!")
|
| 695 |
st.write("You can ask questions about the Bible, Jesus, faith, and Christian life")
|
| 696 |
st.write("Type 'exit' to end the conversation.\n")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 697 |
|
| 698 |
# Initialize session state for chat history and user_id if they don't exist
|
| 699 |
if 'chat_history' not in st.session_state:
|
|
|
|
| 706 |
with st.form("login_form", clear_on_submit=True):
|
| 707 |
user_id = st.text_input("Please enter your name to begin:")
|
| 708 |
submit_button = st.form_submit_button("Login")
|
| 709 |
+
st.write("""🔒 **Privacy Notice:**
|
| 710 |
+
User data remains private.
|
| 711 |
+
All processing occurs **within the current session**.
|
| 712 |
+
No user data is **stored**, **shared**, or used for **model training** or any other purpose.
|
| 713 |
+
""")
|
| 714 |
if submit_button and user_id:
|
| 715 |
st.session_state.user_id = user_id
|
| 716 |
st.session_state.chat_history.append({
|