Spaces:
Runtime error
Runtime error
Jason St George
commited on
Commit
·
a0643c4
1
Parent(s):
a1296df
app.py
CHANGED
@@ -219,6 +219,8 @@ class ChatWrapper:
|
|
219 |
output = chain({"question": inp, "chat_history": history})["answer"]
|
220 |
history.append((inp, output))
|
221 |
|
|
|
|
|
222 |
except Exception as e:
|
223 |
raise e
|
224 |
|
|
|
219 |
output = chain({"question": inp, "chat_history": history})["answer"]
|
220 |
history.append((inp, output))
|
221 |
|
222 |
+
return history, history
|
223 |
+
|
224 |
except Exception as e:
|
225 |
raise e
|
226 |
|