Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def load_whisper_model():
|
|
26 |
Load the Whisper model and processor from Hugging Face.
|
27 |
Change 'openai/whisper-base' to another variant if needed.
|
28 |
"""
|
29 |
-
model_name = "openai/whisper-
|
30 |
processor = WhisperProcessor.from_pretrained(model_name)
|
31 |
model = WhisperForConditionalGeneration.from_pretrained(model_name)
|
32 |
return processor, model
|
|
|
26 |
Load the Whisper model and processor from Hugging Face.
|
27 |
Change 'openai/whisper-base' to another variant if needed.
|
28 |
"""
|
29 |
+
model_name = "openai/whisper-Small"
|
30 |
processor = WhisperProcessor.from_pretrained(model_name)
|
31 |
model = WhisperForConditionalGeneration.from_pretrained(model_name)
|
32 |
return processor, model
|