From a898b3ba9421747027e3c1011eba2b05ac69ef3e Mon Sep 17 00:00:00 2001 From: Alex Zamoshchin Date: Tue, 26 Sep 2023 20:42:33 -0400 Subject: [PATCH] Remove typo in error message --- whisperx/vad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whisperx/vad.py b/whisperx/vad.py index c2db2b6..7ded87b 100644 --- a/whisperx/vad.py +++ b/whisperx/vad.py @@ -41,7 +41,7 @@ def load_vad_model(device, vad_onset=0.500, vad_offset=0.363, use_auth_token=Non model_bytes = open(model_fp, "rb").read() if hashlib.sha256(model_bytes).hexdigest() != VAD_SEGMENTATION_URL.split('/')[-2]: raise RuntimeError( - "Model has been downloaded but the SHA256 checksum does not not match. Please retry loading the model." + "Model has been downloaded but the SHA256 checksum does not match. Please retry loading the model." ) vad_model = Model.from_pretrained(model_fp, use_auth_token=use_auth_token)