Achitha commited on
Commit
077d87f
1 Parent(s): 20bf172

Update app.py

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