fffiloni commited on
Commit
a03faf2
β€’
1 Parent(s): 5231682

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def add_text(history, text):
33
  def bot(history):
34
  print(history[-1][0])
35
  response = infer(history[-1][0])
36
- history[-1][1] = response
37
  return history
38
 
39
  def infer(question):
 
33
  def bot(history):
34
  print(history[-1][0])
35
  response = infer(history[-1][0])
36
+ history[-1][1] = response['result']
37
  return history
38
 
39
  def infer(question):