Spaces:
Build error
Build error
patrickvonplaten
commited on
Commit
·
44ea321
1
Parent(s):
c7e9ab6
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import librosa
|
3 |
from transformers import AutoFeatureExtractor, AutoTokenizer, SpeechEncoderDecoderModel
|
4 |
|
5 |
-
model_name = "facebook/wav2vec2-xls-r-2b-en-to-15"
|
6 |
|
7 |
feature_extractor = AutoFeatureExtractor.from_pretrained(model_name, use_auth_token="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")
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_name, use_auth_token="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", use_fast=False)
|
|
|
2 |
import librosa
|
3 |
from transformers import AutoFeatureExtractor, AutoTokenizer, SpeechEncoderDecoderModel
|
4 |
|
5 |
+
model_name = "facebook/wav2vec2-xls-r-2b-en-to-15"
|
6 |
|
7 |
feature_extractor = AutoFeatureExtractor.from_pretrained(model_name, use_auth_token="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")
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_name, use_auth_token="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", use_fast=False)
|