Kun Zou
2024-12-21 b5ad7c81be2e24f255cac3d0ef0037bf88228366
examples/industrial_data_pretraining/emotion2vec/demo.py
@@ -16,6 +16,7 @@
    # vad_model="iic/speech_fsmn_vad_zh-cn-16k-common-pytorch",
    # vad_model_revision="master",
    # vad_kwargs={"max_single_segment_time": 2000},
    hub="ms",  # "ms" or "modelscope" for Mainland China users; "hf" or "huggingface" for Other overseas users
)
wav_file = f"{model.model_path}/example/test.wav"