Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -87,8 +87,8 @@ if 'messages' not in st.session_state:
|
|
87 |
|
88 |
# Display or clear chat messages
|
89 |
for message in st.session_state.messages:
|
90 |
-
with st.chat_message(message["role"]):
|
91 |
-
st.write(message["content"]
|
92 |
|
93 |
with st.sidebar:
|
94 |
st.title("Menu:")
|
|
|
87 |
|
88 |
# Display or clear chat messages
|
89 |
for message in st.session_state.messages:
|
90 |
+
with st.chat_message(message["role"],avatar=icons[message["role"]]):
|
91 |
+
st.write(message["content"])
|
92 |
|
93 |
with st.sidebar:
|
94 |
st.title("Menu:")
|