Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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-
|
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)
|