Anish13 commited on
Commit
da3b02b
1 Parent(s): 0539dfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ chat_history = [] # initialize chat history
71
  def greet(question, pdf_file):
72
  global chat_history
73
  print("chat_history: ", chat_history)
74
- a = load_db(pdf_file, 3)
75
  r = a.invoke({"question": question, "chat_history": chat_history})
76
  match = re.search(r'Helpful Answer:(.*)', r['answer'])
77
  if match:
 
71
  def greet(question, pdf_file):
72
  global chat_history
73
  print("chat_history: ", chat_history)
74
+ a = load_db(pdf_file, 5)
75
  r = a.invoke({"question": question, "chat_history": chat_history})
76
  match = re.search(r'Helpful Answer:(.*)', r['answer'])
77
  if match: