Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ def add_text(history, text):
|
|
| 53 |
|
| 54 |
def bot(history):
|
| 55 |
response = infer(history[-1][0] , history)
|
| 56 |
-
history[-1][1] = response['
|
| 57 |
return history
|
| 58 |
|
| 59 |
def infer(question , history):
|
|
|
|
| 53 |
|
| 54 |
def bot(history):
|
| 55 |
response = infer(history[-1][0] , history)
|
| 56 |
+
history[-1][1] = response['answer']
|
| 57 |
return history
|
| 58 |
|
| 59 |
def infer(question , history):
|