mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
fix websocket batching (#1511)
This commit is contained in:
parent
78d1977ebf
commit
c86e9a3372
@ -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…
Reference in New Issue
Block a user