Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ for message in st.session_state.messages:
|
|
| 38 |
# React to user input
|
| 39 |
if prompt := st.chat_input("Ask LLama-2-70b anything..."):
|
| 40 |
# Display user message in chat message container
|
| 41 |
-
st.chat_message("human").markdown(prompt)
|
| 42 |
# Add user message to chat history
|
| 43 |
st.session_state.messages.append({"role": "human", "content": prompt})
|
| 44 |
|
|
|
|
| 38 |
# React to user input
|
| 39 |
if prompt := st.chat_input("Ask LLama-2-70b anything..."):
|
| 40 |
# Display user message in chat message container
|
| 41 |
+
st.chat_message("human",avatar = "🧑💻").markdown(prompt)
|
| 42 |
# Add user message to chat history
|
| 43 |
st.session_state.messages.append({"role": "human", "content": prompt})
|
| 44 |
|