Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
| 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 |
|