From f9502d1dd9e164feec40546fd1601c8d9dfde696 Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 17 五月 2023 18:29:40 +0800
Subject: [PATCH] Merge pull request #522 from alibaba-damo-academy/dev_cmz_fromDev_infer

---
 funasr/runtime/python/websocket/ws_client.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/funasr/runtime/python/websocket/ws_client.py b/funasr/runtime/python/websocket/ws_client.py
index 8ca5d1d..470b3a8 100644
--- a/funasr/runtime/python/websocket/ws_client.py
+++ b/funasr/runtime/python/websocket/ws_client.py
@@ -255,7 +255,8 @@
           chunk_size=int((total_len)/args.test_thread_num)
           remain_wavs=total_len-chunk_size*args.test_thread_num
      else:
-          chunk_size=0
+          chunk_size=1
+          remain_wavs=0
 
      process_list = []
      chunk_begin=0

--
Gitblit v1.9.1