Spaces:
Running
Running
jhj0517
commited on
Commit
·
f38c0f8
1
Parent(s):
8295934
Update available models
Browse files
modules/whisper/faster_whisper_inference.py
CHANGED
@@ -159,7 +159,7 @@ class FasterWhisperInference(WhisperBase):
|
|
159 |
----------
|
160 |
Name list of models
|
161 |
"""
|
162 |
-
model_paths = {model:model for model in
|
163 |
faster_whisper_prefix = "models--Systran--faster-whisper-"
|
164 |
|
165 |
existing_models = os.listdir(self.model_dir)
|
|
|
159 |
----------
|
160 |
Name list of models
|
161 |
"""
|
162 |
+
model_paths = {model:model for model in faster_whisper.available_models()}
|
163 |
faster_whisper_prefix = "models--Systran--faster-whisper-"
|
164 |
|
165 |
existing_models = os.listdir(self.model_dir)
|