Update app.py
Browse files
app.py
CHANGED
@@ -313,7 +313,7 @@ def http_bot(
|
|
313 |
worker_addr + "/worker_generate_stream",
|
314 |
headers=headers,
|
315 |
json=pload,
|
316 |
-
stream=
|
317 |
timeout=100,
|
318 |
)
|
319 |
for chunk in response.iter_lines(decode_unicode=False, delimiter=b"\0"):
|
|
|
313 |
worker_addr + "/worker_generate_stream",
|
314 |
headers=headers,
|
315 |
json=pload,
|
316 |
+
stream=True,
|
317 |
timeout=100,
|
318 |
)
|
319 |
for chunk in response.iter_lines(decode_unicode=False, delimiter=b"\0"):
|