Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,11 +50,11 @@ if authentication_status:
|
|
50 |
authenticator.logout("Logout", "sidebar")
|
51 |
if st.sidebar.button("Refresh Chat"):
|
52 |
st.session_state.messages = [
|
53 |
-
{"role": "assistant", "content":
|
54 |
]
|
55 |
if "messages" not in st.session_state:
|
56 |
st.session_state.messages = [
|
57 |
-
{"role": "assistant", "content":
|
58 |
]
|
59 |
|
60 |
for message in st.session_state.messages:
|
|
|
50 |
authenticator.logout("Logout", "sidebar")
|
51 |
if st.sidebar.button("Refresh Chat"):
|
52 |
st.session_state.messages = [
|
53 |
+
{"role": "assistant", "content": greeting}
|
54 |
]
|
55 |
if "messages" not in st.session_state:
|
56 |
st.session_state.messages = [
|
57 |
+
{"role": "assistant", "content": greeting}
|
58 |
]
|
59 |
|
60 |
for message in st.session_state.messages:
|