camparchimedes commited on
Commit
72caa7c
·
verified ·
1 Parent(s): 35a4118

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -66,7 +66,6 @@ def transcribe(file_upload, progress=gr.Progress(track_tqdm=True)): # microphone
66
  pipe = pipeline("automatic-speech-recognition",
67
  model="NbAiLab/nb-whisper-large",
68
  chunk_length_s=30,
69
- forced_decoder_ids=None, # -- explicitly set to None
70
  device=device)
71
 
72
  text = pipe(file)["text"]
 
66
  pipe = pipeline("automatic-speech-recognition",
67
  model="NbAiLab/nb-whisper-large",
68
  chunk_length_s=30,
 
69
  device=device)
70
 
71
  text = pipe(file)["text"]