Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def pdf_changes(pdf_doc):
44
  return "Ready"
45
 
46
  def query(history, text):
47
- result = qa({'question': text, 'chat_history': history})
48
  history.append((text, result['answer']))
49
 
50
  return history,""
 
44
  return "Ready"
45
 
46
  def query(history, text):
47
+ result = qa({'question':question, 'chat_history': history})
48
  history.append((text, result['answer']))
49
 
50
  return history,""