Spaces:
Paused
Paused
DaniilAlpha
commited on
Commit
·
ca588ec
1
Parent(s):
843a3a6
Update main.py
Browse files
main.py
CHANGED
@@ -82,7 +82,7 @@ async def handle_answerer_local(ws: WebSocket, input: str):
|
|
82 |
output = answerer(input, 128)
|
83 |
el: str
|
84 |
async for el in output: pass
|
85 |
-
ws.send_text(el)
|
86 |
|
87 |
async def handle_answerer_accelerated(ws: WebSocket, input: str):
|
88 |
output = await accelerator.accelerate(input)
|
|
|
82 |
output = answerer(input, 128)
|
83 |
el: str
|
84 |
async for el in output: pass
|
85 |
+
await ws.send_text(el)
|
86 |
|
87 |
async def handle_answerer_accelerated(ws: WebSocket, input: str):
|
88 |
output = await accelerator.accelerate(input)
|