Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ def infer(question, history):
|
|
| 52 |
for human, ai in history[:-1]:
|
| 53 |
pair = (human, ai)
|
| 54 |
res.append(pair)
|
| 55 |
-
|
| 56 |
chat_history = res
|
| 57 |
#print(chat_history)
|
| 58 |
query = question
|
|
|
|
| 52 |
for human, ai in history[:-1]:
|
| 53 |
pair = (human, ai)
|
| 54 |
res.append(pair)
|
| 55 |
+
|
| 56 |
chat_history = res
|
| 57 |
#print(chat_history)
|
| 58 |
query = question
|