Spaces:
Sleeping
Sleeping
shaileshjadhavSS
commited on
Commit
·
beba0d1
1
Parent(s):
07b0dc7
Changed logout button text
Browse files
app.py
CHANGED
|
@@ -139,7 +139,7 @@ def display_chat(user_manager):
|
|
| 139 |
upload_container = st.container()
|
| 140 |
|
| 141 |
clear_chat_button = st.button('Clear Chat')
|
| 142 |
-
if st.button('Logout'):
|
| 143 |
|
| 144 |
# Save chat history before logging out
|
| 145 |
save_chat_history(st.session_state.email, st.session_state.history, user_manager)
|
|
|
|
| 139 |
upload_container = st.container()
|
| 140 |
|
| 141 |
clear_chat_button = st.button('Clear Chat')
|
| 142 |
+
if st.button('Save Session & Logout'):
|
| 143 |
|
| 144 |
# Save chat history before logging out
|
| 145 |
save_chat_history(st.session_state.email, st.session_state.history, user_manager)
|