|
|
@@ -24,7 +24,7 @@ print(segments_result)
|
|
|
#### [FSMN-VAD-online model](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
|