Samarth991 commited on
Commit
bcc7659
1 Parent(s): 688f875

adding chatbot

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ def infer(question, history):
110
 
111
  chat_history = res
112
  result = qa({"query": question})
113
- return result["answer"]
114
 
115
  def bot(history):
116
  response = infer(history[-1][0], history)
 
110
 
111
  chat_history = res
112
  result = qa({"query": question})
113
+ return result["result"]
114
 
115
  def bot(history):
116
  response = infer(history[-1][0], history)