fffiloni commited on
Commit
9750f10
·
1 Parent(s): 28f9d4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def add_text(history, text):
38
 
39
  def bot(history):
40
  response = infer(history[-1][0])
41
- history[-1][1] = response['result']
42
  return history
43
 
44
  def infer(question):
 
38
 
39
  def bot(history):
40
  response = infer(history[-1][0])
41
+ history[-1][1] = response
42
  return history
43
 
44
  def infer(question):