Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -616,8 +616,8 @@ if prompt :
|
|
| 616 |
st.write(full_response)
|
| 617 |
|
| 618 |
# Add AI response to chat history
|
| 619 |
-
|
| 620 |
-
st.session_state.chat_history.append({"role": "assistant", "content":
|
| 621 |
copy_to_clipboard(full_response)
|
| 622 |
|
| 623 |
|
|
|
|
| 616 |
st.write(full_response)
|
| 617 |
|
| 618 |
# Add AI response to chat history
|
| 619 |
+
|
| 620 |
+
st.session_state.chat_history.append({"role": "assistant", "content": cleaned_text})
|
| 621 |
copy_to_clipboard(full_response)
|
| 622 |
|
| 623 |
|