techasad commited on
Commit
588495b
·
verified ·
1 Parent(s): 5054f97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -290,7 +290,7 @@ def main():
290
 
291
  elif uploaded_file:
292
  with st.spinner('Bot is typing ...'):
293
- docs = db.similarity_search(prompt, k=5, fetch_k=10)
294
  response = chain.run(input_documents=docs, question=prompt)
295
 
296
 
 
290
 
291
  elif uploaded_file:
292
  with st.spinner('Bot is typing ...'):
293
+ docs = db.similarity_search(prompt, k=10, fetch_k=30)
294
  response = chain.run(input_documents=docs, question=prompt)
295
 
296