pgilles commited on
Commit
51ac372
1 Parent(s): 4ba8f7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import time
10
  #Loading the model and the tokenizer
11
  token_key = os.environ.get("HUGGING_FACE_HUB_TOKEN")
12
 
13
- model_name = "unilux/whisper-large-v2-lb_cased_02"
14
 
15
  #p = pipeline("automatic-speech-recognition", model=model, tokenizer=tokenizer, feature_extractor=processor.feature_extractor, decoder=processor.decoder, use_auth_token=token_key)
16
  p = pipeline("automatic-speech-recognition", model=model_name, device=0, use_auth_token=token_key)
 
10
  #Loading the model and the tokenizer
11
  token_key = os.environ.get("HUGGING_FACE_HUB_TOKEN")
12
 
13
+ model_name = "unilux/whisper-large-v2-lb_cased_01"
14
 
15
  #p = pipeline("automatic-speech-recognition", model=model, tokenizer=tokenizer, feature_extractor=processor.feature_extractor, decoder=processor.decoder, use_auth_token=token_key)
16
  p = pipeline("automatic-speech-recognition", model=model_name, device=0, use_auth_token=token_key)