游雁
2024-06-07 c350b6becb887d578126e363306e7398782ef675
runtime/python/onnxruntime/demo_vad_offline.py
@@ -2,7 +2,9 @@
from pathlib import Path
model_dir = "damo/speech_fsmn_vad_zh-cn-16k-common-pytorch"
wav_path = '{}/.cache/modelscope/hub/damo/speech_fsmn_vad_zh-cn-16k-common-pytorch/example/vad_example.wav'.format(Path.home())
wav_path = "{}/.cache/modelscope/hub/damo/speech_fsmn_vad_zh-cn-16k-common-pytorch/example/vad_example.wav".format(
    Path.home()
)
model = Fsmn_vad(model_dir)