ZarinT commited on
Commit
4e8ef13
·
verified ·
1 Parent(s): 42d64ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -274,6 +274,7 @@ def main():
274
  user_question = st.text_input("Ask your question:")
275
 
276
  if st.session_state.chat_ready and user_question:
 
277
  response = handle_user_query(user_question)
278
  st.session_state.chat_history.append({"user": user_question, "bot": response})
279
 
 
274
  user_question = st.text_input("Ask your question:")
275
 
276
  if st.session_state.chat_ready and user_question:
277
+ set_global_vectorstore(st.session_state.vectorstore)
278
  response = handle_user_query(user_question)
279
  st.session_state.chat_history.append({"user": user_question, "bot": response})
280