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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ 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
- pipe.model.config.forced_decoder_ids = None
21
 
22
 
23
  def load_data(input_file):
 
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):