Ashhar
commited on
Commit
•
98cfaf2
1
Parent(s):
ab3334d
fixed baby avatars
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ if "messages" not in st.session_state:
|
|
103 |
for message in st.session_state.messages:
|
104 |
role = message["role"]
|
105 |
content = message["content"]
|
106 |
-
avatar = "baby.png" if role == "
|
107 |
with st.chat_message(role, avatar=avatar):
|
108 |
st.markdown(content)
|
109 |
|
|
|
103 |
for message in st.session_state.messages:
|
104 |
role = message["role"]
|
105 |
content = message["content"]
|
106 |
+
avatar = "baby.png" if role == "assistant" else "man.png"
|
107 |
with st.chat_message(role, avatar=avatar):
|
108 |
st.markdown(content)
|
109 |
|