Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2168,7 +2168,7 @@ def handle_prompt(prompt):
|
|
| 2168 |
st.error("An error occurred while generating the response. Please try again.")
|
| 2169 |
|
| 2170 |
st.session_state.chat_history.append({"role": "assistant", "content": escaped_text})
|
| 2171 |
-
copy_to_clipboard(
|
| 2172 |
st.session_state["handled"] = True # Mark as handled
|
| 2173 |
|
| 2174 |
# Call the function to handle the prompt
|
|
|
|
| 2168 |
st.error("An error occurred while generating the response. Please try again.")
|
| 2169 |
|
| 2170 |
st.session_state.chat_history.append({"role": "assistant", "content": escaped_text})
|
| 2171 |
+
copy_to_clipboard(combined_text)
|
| 2172 |
st.session_state["handled"] = True # Mark as handled
|
| 2173 |
|
| 2174 |
# Call the function to handle the prompt
|