From 6e60f5be2958122d5b2ac9e76346b96c863c0b21 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期五, 19 五月 2023 14:02:45 +0800
Subject: [PATCH] v0.5.4
---
funasr/runtime/python/websocket/ws_client.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/funasr/runtime/python/websocket/ws_client.py b/funasr/runtime/python/websocket/ws_client.py
index 8ca5d1d..97ea552 100644
--- a/funasr/runtime/python/websocket/ws_client.py
+++ b/funasr/runtime/python/websocket/ws_client.py
@@ -47,7 +47,7 @@
help="test_thread_num")
parser.add_argument("--words_max_print",
type=int,
- default=100,
+ default=10000,
help="chunk")
parser.add_argument("--output_dir",
type=str,
@@ -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