Spaces:
Runtime error
Runtime error
Commit
·
e8be56f
1
Parent(s):
aeb7722
update response
Browse files
app.py
CHANGED
@@ -1690,6 +1690,7 @@ def chathmi5(message, history2):
|
|
1690 |
temp = ""
|
1691 |
for next_token, content in stream(message):
|
1692 |
temp = temp + content
|
|
|
1693 |
history_int = history2 + [(None, temp)]
|
1694 |
history2 = history_int
|
1695 |
yield(None, history_int, None, None)
|
|
|
1690 |
temp = ""
|
1691 |
for next_token, content in stream(message):
|
1692 |
temp = temp + content
|
1693 |
+
response = temp
|
1694 |
history_int = history2 + [(None, temp)]
|
1695 |
history2 = history_int
|
1696 |
yield(None, history_int, None, None)
|