Spaces:
Runtime error
Runtime error
Commit
·
0618345
1
Parent(s):
b5ce5c1
Update app.py
Browse files
app.py
CHANGED
@@ -50,6 +50,7 @@ class ChatWrapper:
|
|
50 |
# Run chain and append input.
|
51 |
output = chain({"question": inp, "chat_history": history})["answer"]
|
52 |
history.append((inp, output))
|
|
|
53 |
except Exception as e:
|
54 |
raise e
|
55 |
finally:
|
|
|
50 |
# Run chain and append input.
|
51 |
output = chain({"question": inp, "chat_history": history})["answer"]
|
52 |
history.append((inp, output))
|
53 |
+
print(history)
|
54 |
except Exception as e:
|
55 |
raise e
|
56 |
finally:
|