Manglik-R commited on
Commit
1d06802
1 Parent(s): 219dccc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def pdf_changes(pdf_doc):
48
  return "Ready"
49
 
50
  def text(history, text):
51
- result = qa_chain({'question': text, 'chat_history': history})
52
  history.append((text, result['answer']))
53
 
54
  return history,""
 
48
  return "Ready"
49
 
50
  def text(history, text):
51
+ result = qa({'question': text, 'chat_history': history})
52
  history.append((text, result['answer']))
53
 
54
  return history,""