Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2284,12 +2284,12 @@ def handle_prompt(prompt):
|
|
| 2284 |
with response_placeholder:
|
| 2285 |
with st.chat_message("assistant"):
|
| 2286 |
|
| 2287 |
-
st.markdown(
|
| 2288 |
|
| 2289 |
|
| 2290 |
|
| 2291 |
#st.write(combined_text,unsafe_allow_html=True)
|
| 2292 |
-
st.session_state.chat_history.append({"role": "assistant", "content":
|
| 2293 |
copy_to_clipboard(combined_text)
|
| 2294 |
|
| 2295 |
|
|
|
|
| 2284 |
with response_placeholder:
|
| 2285 |
with st.chat_message("assistant"):
|
| 2286 |
|
| 2287 |
+
st.markdown(combined_text)
|
| 2288 |
|
| 2289 |
|
| 2290 |
|
| 2291 |
#st.write(combined_text,unsafe_allow_html=True)
|
| 2292 |
+
st.session_state.chat_history.append({"role": "assistant", "content": escaped_text})
|
| 2293 |
copy_to_clipboard(combined_text)
|
| 2294 |
|
| 2295 |
|