From 2fa74ecb941db27d9015583a9be6962898d66730 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Mon, 12 Feb 2024 17:00:31 +0800 Subject: [PATCH] Update fasterwhisper_asr.py --- tools/asr/fasterwhisper_asr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/asr/fasterwhisper_asr.py b/tools/asr/fasterwhisper_asr.py index 7055711..5f49de7 100644 --- a/tools/asr/fasterwhisper_asr.py +++ b/tools/asr/fasterwhisper_asr.py @@ -1,5 +1,6 @@ import argparse import os +os.environ["HF_ENDPOINT"]="https://hf-mirror.com" import traceback import requests from glob import glob @@ -103,4 +104,4 @@ if __name__ == '__main__': model_size = cmd.model_size, language = cmd.language, precision = cmd.precision, - ) \ No newline at end of file + )