tensorops commited on
Commit
5024005
1 Parent(s): 5a7ef87

Update app.py

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