Spaces:
Sleeping
Sleeping
Commit
•
0ba26be
1
Parent(s):
556b474
Upload app.py
Browse files
app.py
CHANGED
@@ -38,4 +38,5 @@ if prompt := st.chat_input("How can I help you today?"):
|
|
38 |
full_response += response.choices[0].delta.get("content", "").replace('$','\\$')
|
39 |
message_placeholder.markdown(full_response + "▌")
|
40 |
message_placeholder.markdown(full_response)
|
|
|
41 |
st.session_state.messages.append({"role": "assistant", "content": full_response})
|
|
|
38 |
full_response += response.choices[0].delta.get("content", "").replace('$','\\$')
|
39 |
message_placeholder.markdown(full_response + "▌")
|
40 |
message_placeholder.markdown(full_response)
|
41 |
+
print(full_response)
|
42 |
st.session_state.messages.append({"role": "assistant", "content": full_response})
|