eagle0504 commited on
Commit
803601c
·
1 Parent(s): 3148385

final resp added

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -193,9 +193,9 @@ if prompt := st.chat_input(
193
  st.markdown(ref_table_string)
194
 
195
  # Add assistant response to chat history
196
- response = f"""
197
  {response}
198
 
199
  References:
200
  {ref_table_string}"""
201
- st.session_state.messages.append({"role": "assistant", "content": response})
 
193
  st.markdown(ref_table_string)
194
 
195
  # Add assistant response to chat history
196
+ final_response = f"""
197
  {response}
198
 
199
  References:
200
  {ref_table_string}"""
201
+ st.session_state.messages.append({"role": "assistant", "content": final_response})