Wajahat698 commited on
Commit
5683ff4
·
verified ·
1 Parent(s): 5a11fce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -631,7 +631,7 @@ if prompt :
631
 
632
  # Add AI response to chat history
633
 
634
- st.session_state.chat_history.append({"role": "assistant", "content": final_text})
635
  copy_to_clipboard(full_response)
636
 
637
 
 
631
 
632
  # Add AI response to chat history
633
 
634
+ st.session_state.chat_history.append({"role": "assistant", "content": cleaned_text})
635
  copy_to_clipboard(full_response)
636
 
637