hienbm commited on
Commit
36028bb
·
verified ·
1 Parent(s): 151abac

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -186,7 +186,7 @@ if user_query is not None and user_query != "" and find_youtube_links(user_query
186
  with st.chat_message("Human"):
187
  st.markdown(user_query)
188
 
189
- response = get_response_1(user_query)
190
 
191
  # Remove any unwanted prefixes from the response
192
  response = response.replace("AI response:", "").replace("chat response:", "").replace("bot response:", "").strip()
 
186
  with st.chat_message("Human"):
187
  st.markdown(user_query)
188
 
189
+ response = get_response_1(user_query, st.session_state.chat_history)
190
 
191
  # Remove any unwanted prefixes from the response
192
  response = response.replace("AI response:", "").replace("chat response:", "").replace("bot response:", "").strip()