jianfch / stable-ts

Transcription, forced alignment, and audio indexing with OpenAI's Whisper
MIT License
1.59k stars 176 forks source link

Provide a way to load snakers4/silero-vad locally? #234

Closed YeDaxia closed 1 year ago

YeDaxia commented 1 year ago

I noticed that the current vad model is loaded from github, which is often inaccessible or very slow from China.

torch.hub.load(repo_or_dir='snakers4/silero-vad', model='silero_vad')

Could you provide a way to load snakers4/silero-vad from local path?

jianfch commented 1 year ago

Try https://github.com/jianfch/stable-ts/issues/213#issuecomment-1742222703.