From f38c0f89ea72a719b157d0ea560b983f6e46a4de Mon Sep 17 00:00:00 2001 From: jhj0517 <97279763+jhj0517@users.noreply.github.com> Date: Thu, 3 Oct 2024 00:23:55 +0900 Subject: [PATCH 1/2] Update available models --- modules/whisper/faster_whisper_inference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/whisper/faster_whisper_inference.py b/modules/whisper/faster_whisper_inference.py index 89d09c9f..30a4cc38 100644 --- a/modules/whisper/faster_whisper_inference.py +++ b/modules/whisper/faster_whisper_inference.py @@ -159,7 +159,7 @@ def get_model_paths(self): ---------- Name list of models """ - model_paths = {model:model for model in whisper.available_models()} + model_paths = {model:model for model in faster_whisper.available_models()} faster_whisper_prefix = "models--Systran--faster-whisper-" existing_models = os.listdir(self.model_dir) From 7d4cc153ff0a451ae7f9acaad50be35358b5453a Mon Sep 17 00:00:00 2001 From: jhj0517 <97279763+jhj0517@users.noreply.github.com> Date: Thu, 3 Oct 2024 00:38:24 +0900 Subject: [PATCH 2/2] Add git ignore dirs --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 12379a0f..9cd9e383 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,8 @@ *.png *.mp4 *.mp3 +.idea/ +.pytest_cache/ venv/ modules/ui/__pycache__/ outputs/