ArturG9 commited on
Commit
8001400
1 Parent(s): 6333666

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -167,12 +167,7 @@ def handle_userinput(user_question ):
167
  st.session_state.chat_history.append({"role": "user", "content": user_question})
168
 
169
 
170
- retriever = st.session_state.conversation.retriever()
171
- docs = retriever.invoke(user_question)
172
-
173
-
174
-
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})
 
167
  st.session_state.chat_history.append({"role": "user", "content": user_question})
168
 
169
 
170
+
 
 
 
 
 
171
 
172
  # Invoke conversation chain
173
  response = st.session_state.conversation.invoke({"question": user_question})