From c9f1b4e8a2e903f74de20d019e70307c26e93c3e Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期四, 23 十一月 2023 20:39:52 +0800
Subject: [PATCH] update

---
 egs_modelscope/vad/TEMPLATE/README_zh.md |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/egs_modelscope/vad/TEMPLATE/README_zh.md b/egs_modelscope/vad/TEMPLATE/README_zh.md
index a1b1916..8157e07 100644
--- a/egs_modelscope/vad/TEMPLATE/README_zh.md
+++ b/egs_modelscope/vad/TEMPLATE/README_zh.md
@@ -24,7 +24,7 @@
 #### [FSMN-VAD-瀹炴椂妯″瀷](https://modelscope.cn/models/damo/speech_fsmn_vad_zh-cn-16k-common-pytorch/summary)
 ```python
 inference_pipeline = pipeline(
-    task=Tasks.auto_speech_recognition,
+    task=Tasks.voice_activity_detection,
     model='damo/speech_fsmn_vad_zh-cn-16k-common-pytorch',
     )
 import soundfile
@@ -36,7 +36,7 @@
 speech_chunk = speech[0:chunk_stride] 
 rec_result = inference_pipeline(audio_in=speech_chunk, param_dict=param_dict)
 print(rec_result)
-# next chunk, 480ms
+# next chunk, 100ms
 speech_chunk = speech[chunk_stride:chunk_stride+chunk_stride]
 rec_result = inference_pipeline(audio_in=speech_chunk, param_dict=param_dict)
 print(rec_result)

--
Gitblit v1.9.1