razhan commited on
Commit
a56f739
1 Parent(s): 402ff0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ pipe = pipeline(
15
  device=device,
16
  )
17
 
18
- pipe.model.config.forced_decoder_ids = pipe.tokenizer.get_decoder_prompt_ids(language=lang, task="transcribe")
19
 
20
  def transcribe(microphone, file_upload):
21
  warn_output = ""
 
15
  device=device,
16
  )
17
 
18
+ pipe.model.config.forced_decoder_ids = pipe.tokenizer.get_decoder_prompt_ids(task="transcribe")
19
 
20
  def transcribe(microphone, file_upload):
21
  warn_output = ""