Wajahat698 commited on
Commit
a320352
·
verified ·
1 Parent(s): db63883

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(escaped_text_html)
2288
 
2289
 
2290
 
2291
  #st.write(combined_text,unsafe_allow_html=True)
2292
- st.session_state.chat_history.append({"role": "assistant", "content": combined_text})
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