diff --git a/runtime/python/websocket/funasr_wss_client.py b/runtime/python/websocket/funasr_wss_client.py index ed0cfc98f..b56f64fae 100644 --- a/runtime/python/websocket/funasr_wss_client.py +++ b/runtime/python/websocket/funasr_wss_client.py @@ -242,6 +242,8 @@ async def record_from_scp(chunk_begin, chunk_size): while not offline_msg_done: await asyncio.sleep(1) + await asyncio.sleep(10) + await websocket.close()