Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -107,7 +107,8 @@ def respond(
|
|
| 107 |
if 'content' in delta:
|
| 108 |
tokens = delta['content'].split()
|
| 109 |
for token in tokens:
|
| 110 |
-
|
|
|
|
| 111 |
|
| 112 |
#yield outputs.replace("<|assistant|>","").replace("<|user|>","")
|
| 113 |
|
|
|
|
| 107 |
if 'content' in delta:
|
| 108 |
tokens = delta['content'].split()
|
| 109 |
for token in tokens:
|
| 110 |
+
outputs+=token
|
| 111 |
+
yield outputs
|
| 112 |
|
| 113 |
#yield outputs.replace("<|assistant|>","").replace("<|user|>","")
|
| 114 |
|