ArturG9 commited on
Commit
fbb9f3e
1 Parent(s): fe8eb6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def main(vectorstore):
86
  def handle_userinput(user_question,vectorstore):
87
  Rag_chain = create_conversational_rag_chain(vectorstore)
88
  msgs = StreamlitChatMessageHistory(key="special_app_key")
89
- response = st.session_state.conversation({'question': user_question})
90
  st.session_state.chat_history = response['chat_history']
91
 
92
  for i, message in enumerate(st.session_state.chat_history):
 
86
  def handle_userinput(user_question,vectorstore):
87
  Rag_chain = create_conversational_rag_chain(vectorstore)
88
  msgs = StreamlitChatMessageHistory(key="special_app_key")
89
+ response = Rag_chain({'question': user_question})
90
  st.session_state.chat_history = response['chat_history']
91
 
92
  for i, message in enumerate(st.session_state.chat_history):