bluemiracle0214 commited on
Commit
a9425bd
1 Parent(s): 13237be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ def ask_gpt_based_on_single_pdf(text, question):
84
  except Exception as e:
85
  return f"Error occurred: {str(e)}"
86
 
87
- def ask_gpt_based_on_pdfs_from_drive(question, relevance_threshold=4, max_chars=10000):
88
  try:
89
  pdf_texts, pdf_files = extract_texts_from_drive_folder(drive_folder_path)
90
 
 
84
  except Exception as e:
85
  return f"Error occurred: {str(e)}"
86
 
87
+ def ask_gpt_based_on_pdfs_from_drive(question, relevance_threshold=3, max_chars=8000):
88
  try:
89
  pdf_texts, pdf_files = extract_texts_from_drive_folder(drive_folder_path)
90