Spaces:
Runtime error
Runtime error
derp
Browse files
app.py
CHANGED
@@ -55,9 +55,6 @@ def client(audio_data: np.array, sample_rate: int, default_lang: str):
|
|
55 |
|
56 |
def load_models(language):
|
57 |
|
58 |
-
if language in STT_MODELS:
|
59 |
-
return STT_MODELS[language]
|
60 |
-
|
61 |
model_path, file_name = model_info.get("language", ("", ""))
|
62 |
|
63 |
if model_path.startswith('http'):
|
|
|
55 |
|
56 |
def load_models(language):
|
57 |
|
|
|
|
|
|
|
58 |
model_path, file_name = model_info.get("language", ("", ""))
|
59 |
|
60 |
if model_path.startswith('http'):
|