From efc4f61d85e32cb3058ac3cd0d9541ea619c7014 Mon Sep 17 00:00:00 2001 From: Guillaume Klein Date: Tue, 20 Jun 2023 10:53:11 +0200 Subject: [PATCH] Do not specify the vocabulary file extension in the download pattern (#311) --- faster_whisper/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faster_whisper/utils.py b/faster_whisper/utils.py index 4b5e290..950b0da 100644 --- a/faster_whisper/utils.py +++ b/faster_whisper/utils.py @@ -68,7 +68,7 @@ def download_model( "config.json", "model.bin", "tokenizer.json", - "vocabulary.txt", + "vocabulary.*", ] kwargs = {