Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -273,8 +273,7 @@ def main():
|
|
273 |
|
274 |
user_question = st.text_input("Ask your question:")
|
275 |
|
276 |
-
if st.session_state.
|
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 |
|
|
|
273 |
|
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 |
|