Update app.py
Browse files
app.py
CHANGED
@@ -175,7 +175,7 @@ def handle_userinput(user_question,vectorstore,conversation ):
|
|
175 |
doc_txt = [doc.page_content for doc in docs]
|
176 |
|
177 |
# Invoke conversation chain
|
178 |
-
response = st.session_state.conversation.invoke({"
|
179 |
st.session_state.chat_history.append({"role": "assistant", "content": response})
|
180 |
|
181 |
for i, message in enumerate(st.session_state.chat_history):
|
|
|
175 |
doc_txt = [doc.page_content for doc in docs]
|
176 |
|
177 |
# Invoke conversation chain
|
178 |
+
response = st.session_state.conversation.invoke({"question": user_question})
|
179 |
st.session_state.chat_history.append({"role": "assistant", "content": response})
|
180 |
|
181 |
for i, message in enumerate(st.session_state.chat_history):
|