Shreyas094 commited on
Commit
0a9aa92
·
verified ·
1 Parent(s): 095672d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -461,7 +461,7 @@ def get_response_from_pdf(query, model, selected_docs, num_calls=3, temperature=
461
  return
462
 
463
  all_filtered_docs = []
464
- k_per_doc = max(5, 20 // len(selected_docs)) # Increased k_per_doc
465
 
466
  # First, try to retrieve documents with filtering
467
  for doc_name in selected_docs:
 
461
  return
462
 
463
  all_filtered_docs = []
464
+ k_per_doc = max(5, 10 // len(selected_docs)) # Increased k_per_doc
465
 
466
  # First, try to retrieve documents with filtering
467
  for doc_name in selected_docs: