Update app.py
Browse files
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):
|