Spaces:
Sleeping
Sleeping
Update whisper_processor.py
Browse files- whisper_processor.py +1 -1
whisper_processor.py
CHANGED
@@ -15,7 +15,7 @@ def process_audio(wav_file, model_name, lang):
|
|
15 |
:return: Processed string output from the audio processing
|
16 |
:raises: Exception if an error occurs during processing
|
17 |
"""
|
18 |
-
model = f"
|
19 |
|
20 |
# Check if the model file exists
|
21 |
if not os.path.exists(model):
|
|
|
15 |
:return: Processed string output from the audio processing
|
16 |
:raises: Exception if an error occurs during processing
|
17 |
"""
|
18 |
+
model = f"ggml-{model_name}.bin"
|
19 |
|
20 |
# Check if the model file exists
|
21 |
if not os.path.exists(model):
|