From f892e22b0dc831294e06c53c4f6f520c9da39e6e Mon Sep 17 00:00:00 2001 From: adamnsandle Date: Tue, 15 Dec 2020 14:08:28 +0000 Subject: [PATCH] fx --- hubconf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hubconf.py b/hubconf.py index fc1d39e..006fcde 100644 --- a/hubconf.py +++ b/hubconf.py @@ -14,8 +14,7 @@ def silero_vad(**kwargs): Returns a model with a set of utils Please see https://github.com/snakers4/silero-vad for usage examples """ - hub_dir = torch.hub.get_dir() - model = init_jit_model(model_path=f'{hub_dir}/files/model.jit') + model = init_jit_model(model_path='files/model.jit') utils = (get_speech_ts, save_audio, read_audio,