pgilles commited on
Commit
0829f56
·
1 Parent(s): f852bda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -17,6 +17,8 @@ model_name = "pgilles/whisper-large-v2-lb_cased_04"
17
 
18
  pipe = pipeline("automatic-speech-recognition", model=model_name, device=0, use_auth_token=token_key)
19
  #pipe.model.config.forced_decoder_ids = pipe.tokenizer.get_decoder_prompt_ids(language= "Luxembourgish", task="transcribe")
 
 
20
 
21
  def load_data(input_file):
22
 
 
17
 
18
  pipe = pipeline("automatic-speech-recognition", model=model_name, device=0, use_auth_token=token_key)
19
  #pipe.model.config.forced_decoder_ids = pipe.tokenizer.get_decoder_prompt_ids(language= "Luxembourgish", task="transcribe")
20
+ pipe.model.config.forced_decoder_ids = None
21
+
22
 
23
  def load_data(input_file):
24