Spaces:
Runtime error
Runtime error
layerdiffusion
commited on
Commit
·
6fb0c53
1
Parent(s):
f61fc21
app.py
CHANGED
|
@@ -163,7 +163,7 @@ def chat_fn(message: str, history: list, seed:int, temperature: float, top_p: fl
|
|
| 163 |
for text in streamer:
|
| 164 |
outputs.append(text)
|
| 165 |
# print(outputs)
|
| 166 |
-
yield "".join(outputs),
|
| 167 |
|
| 168 |
print(f'Chat end at {time.time() - time_stamp:.2f} seconds:', message)
|
| 169 |
return
|
|
|
|
| 163 |
for text in streamer:
|
| 164 |
outputs.append(text)
|
| 165 |
# print(outputs)
|
| 166 |
+
yield "".join(outputs), None
|
| 167 |
|
| 168 |
print(f'Chat end at {time.time() - time_stamp:.2f} seconds:', message)
|
| 169 |
return
|