Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,8 +117,8 @@ if "user_id" not in st.session_state:
|
|
| 117 |
else:
|
| 118 |
st.write(f"Logged in as: {st.session_state.username}")
|
| 119 |
if st.button("Logout"):
|
| 120 |
-
|
| 121 |
-
|
| 122 |
|
| 123 |
# Clear chat button
|
| 124 |
if st.button("Clear Chat"):
|
|
|
|
| 117 |
else:
|
| 118 |
st.write(f"Logged in as: {st.session_state.username}")
|
| 119 |
if st.button("Logout"):
|
| 120 |
+
st.session_state.user_id = None
|
| 121 |
+
st.session_state.username = None
|
| 122 |
|
| 123 |
# Clear chat button
|
| 124 |
if st.button("Clear Chat"):
|