Update app.py
Browse files
app.py
CHANGED
|
@@ -75,7 +75,7 @@ with st.chat_message("assistant"):
|
|
| 75 |
message_placeholder.markdown(full_response + "β")
|
| 76 |
message_placeholder.markdown(full_response)
|
| 77 |
# Add assistant response to chat history
|
| 78 |
-
st.session_state.messages.append({"role": "assistant", "content":
|
| 79 |
|
| 80 |
if prompt := st.chat_input("What kind of class are you looking for?"):
|
| 81 |
# Display user message in chat message container
|
|
@@ -109,5 +109,5 @@ if prompt := st.chat_input("What kind of class are you looking for?"):
|
|
| 109 |
message_placeholder.markdown(full_response + "β")
|
| 110 |
message_placeholder.markdown(full_response)
|
| 111 |
# Add assistant response to chat history
|
| 112 |
-
st.session_state.messages.append({"role": "assistant", "content":
|
| 113 |
|
|
|
|
| 75 |
message_placeholder.markdown(full_response + "β")
|
| 76 |
message_placeholder.markdown(full_response)
|
| 77 |
# Add assistant response to chat history
|
| 78 |
+
st.session_state.messages.append({"role": "assistant", "content": full_response})
|
| 79 |
|
| 80 |
if prompt := st.chat_input("What kind of class are you looking for?"):
|
| 81 |
# Display user message in chat message container
|
|
|
|
| 109 |
message_placeholder.markdown(full_response + "β")
|
| 110 |
message_placeholder.markdown(full_response)
|
| 111 |
# Add assistant response to chat history
|
| 112 |
+
st.session_state.messages.append({"role": "assistant", "content": full_response})
|
| 113 |
|