Merge pull request #247 from makaveli10/pin_sliero_vad_model_version

Pin silero VAD onnx model version to v4.0
This commit is contained in:
makaveli
2024-07-09 12:58:27 +05:30
committed by GitHub
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ class VoiceActivityDetection():
return stacked.cpu()
@staticmethod
def download(model_url="https://github.com/snakers4/silero-vad/raw/master/files/silero_vad.onnx"):
def download(model_url="https://github.com/snakers4/silero-vad/raw/v4.0/files/silero_vad.onnx"):
target_dir = os.path.expanduser("~/.cache/whisper-live/")
# Ensure the target directory exists