Spaces:
Build error
Build error
Update app.py
Browse files
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":
|
| 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 |
|