From 38ccf84873508eb0153b5213b387cd20ce775a1b Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期二, 13 六月 2023 23:01:06 +0800
Subject: [PATCH] exit when send all data for python ws client (#627)

---
 egs_modelscope/vad/speech_fsmn_vad_zh-cn-8k-common/demo_online.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/egs_modelscope/vad/speech_fsmn_vad_zh-cn-8k-common/demo_online.py b/egs_modelscope/vad/speech_fsmn_vad_zh-cn-8k-common/demo_online.py
index ec5c502..d777089 100644
--- a/egs_modelscope/vad/speech_fsmn_vad_zh-cn-8k-common/demo_online.py
+++ b/egs_modelscope/vad/speech_fsmn_vad_zh-cn-8k-common/demo_online.py
@@ -7,7 +7,7 @@
 import soundfile
 
 if __name__ == '__main__':
-    output_dir = None
+    output_dir = "./results"
     inference_pipeline = pipeline(
         task=Tasks.voice_activity_detection,
         model="damo/speech_fsmn_vad_zh-cn-8k-common",

--
Gitblit v1.9.1