mirror of
https://github.com/shirayu/whispering.git
synced 2024-11-25 18:31:00 +00:00
Removed
This commit is contained in:
parent
1801a6b7e4
commit
b8338995e6
1 changed files with 0 additions and 1 deletions
|
@ -28,7 +28,6 @@ async def serve_with_websocket_main(websocket):
|
||||||
segment = np.frombuffer(message, dtype=np.float32)
|
segment = np.frombuffer(message, dtype=np.float32)
|
||||||
for chunk in g_wsp.transcribe(segment=segment):
|
for chunk in g_wsp.transcribe(segment=segment):
|
||||||
await websocket.send(chunk.json())
|
await websocket.send(chunk.json())
|
||||||
await websocket.send("")
|
|
||||||
idx += 1
|
idx += 1
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue