Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ async def proxy_openai_api(request: Request):
|
|
124 |
|
125 |
content = bytearray()
|
126 |
async for chunk in stream_response.aiter_bytes():
|
127 |
-
if chunk.strip()
|
128 |
yield chunk.strip()
|
129 |
content.extend(chunk.strip())
|
130 |
|
|
|
124 |
|
125 |
content = bytearray()
|
126 |
async for chunk in stream_response.aiter_bytes():
|
127 |
+
if chunk.strip():
|
128 |
yield chunk.strip()
|
129 |
content.extend(chunk.strip())
|
130 |
|