camparchimedes commited on
Commit
3696c15
1 Parent(s): 1b9402b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def transcribe_audio(audio_file):
39
  num_beams=7,
40
  task="transcribe",
41
  attention_mask=attention_mask,
42
- forced_decoder_ids=None # forced_decoder_ids must not be set
43
  language="no"
44
  )
45
  transcription += " ".join(processor.batch_decode(output, skip_special_tokens=True)) + " "
 
39
  num_beams=7,
40
  task="transcribe",
41
  attention_mask=attention_mask,
42
+ forced_decoder_ids=None, # forced_decoder_ids must not be set
43
  language="no"
44
  )
45
  transcription += " ".join(processor.batch_decode(output, skip_special_tokens=True)) + " "