Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def add_text(history, text):
|
|
30 |
return history, ""
|
31 |
|
32 |
def bot(history):
|
33 |
-
response = infer(history)
|
34 |
history[-1][1] = response
|
35 |
return history
|
36 |
|
|
|
30 |
return history, ""
|
31 |
|
32 |
def bot(history):
|
33 |
+
response = infer(history[-1][0])
|
34 |
history[-1][1] = response
|
35 |
return history
|
36 |
|