ArturG9 commited on
Commit
5c62339
1 Parent(s): 8001400

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,7 +170,7 @@ def handle_userinput(user_question ):
170
 
171
 
172
  # Invoke conversation chain
173
- response = st.session_state.conversation.invoke({"question": user_question})
174
  st.session_state.chat_history.append({"role": "assistant", "content": response})
175
 
176
  for i, message in enumerate(st.session_state.chat_history):
 
170
 
171
 
172
  # Invoke conversation chain
173
+ response = st.session_state.conversation({"question": user_question})
174
  st.session_state.chat_history.append({"role": "assistant", "content": response})
175
 
176
  for i, message in enumerate(st.session_state.chat_history):