Spaces:
Build error
Build error
Update utils_hf.py
Browse files- utils_hf.py +1 -1
utils_hf.py
CHANGED
|
@@ -7,7 +7,7 @@ from moviepy.editor import AudioFileClip
|
|
| 7 |
from transformers import pipeline
|
| 8 |
from pyannote.audio.pipelines.utils.hook import ProgressHook
|
| 9 |
|
| 10 |
-
whisper_pipeline = pipeline("automatic-speech-recognition", model="openai/whisper-large")
|
| 11 |
|
| 12 |
|
| 13 |
class StreamlitProgressHook(ProgressHook):
|
|
|
|
| 7 |
from transformers import pipeline
|
| 8 |
from pyannote.audio.pipelines.utils.hook import ProgressHook
|
| 9 |
|
| 10 |
+
whisper_pipeline = pipeline("automatic-speech-recognition", model="openai/whisper-large", language="es")
|
| 11 |
|
| 12 |
|
| 13 |
class StreamlitProgressHook(ProgressHook):
|