mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-06-08 22:56:24 -04:00
fix websocket batching (#1511)
This commit is contained in:
parent
78d1977ebf
commit
c86e9a3372
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ async def _handle_connection(websocket, path):
|
|||
'text': to_send
|
||||
}))
|
||||
|
||||
await asyncio.sleep(0)
|
||||
|
||||
skip_index += len(to_send)
|
||||
message_num += 1
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue