Update app.py
Browse files
app.py
CHANGED
@@ -145,7 +145,7 @@ async def c_cmp(payload: Payload):
|
|
145 |
delta = item[len(text):]
|
146 |
yield "data: " + json.dumps(
|
147 |
make_chunk_obj(i, delta, None)
|
148 |
-
)
|
149 |
text = item
|
150 |
|
151 |
yield "data: " + json.dumps(make_chunk_obj(i, "", "stop"))
|
|
|
145 |
delta = item[len(text):]
|
146 |
yield "data: " + json.dumps(
|
147 |
make_chunk_obj(i, delta, None)
|
148 |
+
) + "\n"
|
149 |
text = item
|
150 |
|
151 |
yield "data: " + json.dumps(make_chunk_obj(i, "", "stop"))
|