Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -52,5 +52,5 @@ if prompt := st.chat_input("Type your message here..."):
|
|
52 |
# Generate model response
|
53 |
with st.chat_message("assistant"):
|
54 |
response = llm.invoke(conversation)
|
55 |
-
st.markdown(response)
|
56 |
-
st.session_state.messages.append({"role": "assistant", "content": response})
|
|
|
52 |
# Generate model response
|
53 |
with st.chat_message("assistant"):
|
54 |
response = llm.invoke(conversation)
|
55 |
+
st.markdown(response.content)
|
56 |
+
st.session_state.messages.append({"role": "assistant", "content": response.content})
|