Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -67,6 +67,6 @@ if prompt := st.chat_input("Ask me anything!"):
|
|
67 |
msg_placeholder.empty()
|
68 |
full_response += response
|
69 |
full_response_string = []
|
70 |
-
full_response_string
|
71 |
msg_placeholder.markdown(full_response_string[1])
|
72 |
-
st.session_state.messages.append({"role": "assistant", "content": full_response_string[1]})
|
|
|
67 |
msg_placeholder.empty()
|
68 |
full_response += response
|
69 |
full_response_string = []
|
70 |
+
full_response_string = full_response.split('Answer:')
|
71 |
msg_placeholder.markdown(full_response_string[1])
|
72 |
+
st.session_state.messages.append({"role": "assistant", "content": full_response_string[1]})
|