Skip to content

Faster Whisper transcription with CTranslate2

Remove "local_dir_use_symlinks" from download_model() (#1389)

Purfviewcf42429f96c5
diff --git a/faster_whisper/utils.py b/faster_whisper/utils.py
index 8ddbb49..dc806ea 100644
--- a/faster_whisper/utils.py
+++ b/faster_whisper/utils.py
@@ -105,7 +105,6 @@ def download_model(
if output_dir is not None:
kwargs["local_dir"] = output_dir
- kwargs["local_dir_use_symlinks"] = False
if cache_dir is not None:
kwargs["cache_dir"] = cache_dir
diff --git a/requirements.txt b/requirements.txt
index 9a15d6a..46f957c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,6 +1,6 @@
ctranslate2>=4.0,<5
-huggingface_hub>=0.21
+huggingface_hub>=0.23
tokenizers>=0.13,<1
onnxruntime>=1.14,<2
av>=11
-tqdm
\ No newline at end of file
+tqdm