Wajahat698 commited on
Commit
6473dac
·
verified ·
1 Parent(s): da48e2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(formatted_text)
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