mirror of
https://github.com/snakers4/silero-vad.git
synced 2026-02-05 18:09:22 +08:00
Merge branch 'master' of github.com:snakers4/silero-vad into master
This commit is contained in:
@@ -14,7 +14,8 @@ def silero_vad(**kwargs):
|
|||||||
Returns a model with a set of utils
|
Returns a model with a set of utils
|
||||||
Please see https://github.com/snakers4/silero-vad for usage examples
|
Please see https://github.com/snakers4/silero-vad for usage examples
|
||||||
"""
|
"""
|
||||||
model = init_jit_model(model_path='files/model.jit')
|
hub_dir = torch.hub.get_dir()
|
||||||
|
model = init_jit_model(model_path=f'{hub_dir}/snakers4_silero-vad_master/files/model.jit')
|
||||||
utils = (get_speech_ts,
|
utils = (get_speech_ts,
|
||||||
save_audio,
|
save_audio,
|
||||||
read_audio,
|
read_audio,
|
||||||
|
|||||||
Reference in New Issue
Block a user