AbirMessaoudi ssolito commited on
Commit
11d760e
·
verified ·
1 Parent(s): bfe3b33

Update whisper.py (#11)

Browse files

- Update whisper.py (2d3ff431bcbc04aff40be73431d8c1a2f85cdc92)


Co-authored-by: Sarah Solito <ssolito@users.noreply.huggingface.co>

Files changed (1) hide show
  1. whisper.py +1 -1
whisper.py CHANGED
@@ -107,7 +107,7 @@ def transcribe_pipeline(audio, task):
107
  return text
108
 
109
  def generate(audio_path, use_v2):
110
- task = "transcribe
111
  temp_mono_path = None
112
 
113
  if use_v2:
 
107
  return text
108
 
109
  def generate(audio_path, use_v2):
110
+ task = "transcribe"
111
  temp_mono_path = None
112
 
113
  if use_v2: