ArturG9 commited on
Commit
e105e1e
1 Parent(s): 55deafd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -132,7 +132,7 @@ def main():
132
  def handle_userinput(user_question,retriever):
133
  st.session_state.messages.append({"role": "user", "content": user_question})
134
  st.chat_message("user").write(user_question)
135
- docs = retriever.invoke({"input": user_question, "chat_history": st.session_state.messages})
136
 
137
  with st.sidebar:
138
  st.subheader("Your documents")
 
132
  def handle_userinput(user_question,retriever):
133
  st.session_state.messages.append({"role": "user", "content": user_question})
134
  st.chat_message("user").write(user_question)
135
+ docs = retriever.invoke(user_question)
136
 
137
  with st.sidebar:
138
  st.subheader("Your documents")