LivanArzuaga commited on
Commit
192eb0d
·
verified ·
1 Parent(s): 533bd80

Update utils_hf.py

Browse files
Files changed (1) hide show
  1. 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):