This commit is contained in:
Yuta Hayashibe 2022-09-24 21:49:54 +09:00
parent 1801a6b7e4
commit b8338995e6

View file

@ -28,7 +28,6 @@ async def serve_with_websocket_main(websocket):
segment = np.frombuffer(message, dtype=np.float32)
for chunk in g_wsp.transcribe(segment=segment):
await websocket.send(chunk.json())
await websocket.send("")
idx += 1