From b8338995e6ec0af57449e8e1e9570a7af7b52bfe Mon Sep 17 00:00:00 2001 From: Yuta Hayashibe Date: Sat, 24 Sep 2022 21:49:54 +0900 Subject: [PATCH] Removed --- whisper_streaming/serve.py | 1 - 1 file changed, 1 deletion(-) diff --git a/whisper_streaming/serve.py b/whisper_streaming/serve.py index 20f3cf9..d452fe1 100644 --- a/whisper_streaming/serve.py +++ b/whisper_streaming/serve.py @@ -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