Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from transformers import Wav2Vec2Tokenizer, Wav2Vec2ForCTC
|
|
11 |
nltk.download("punkt")
|
12 |
|
13 |
#Loading the model and the tokenizer
|
14 |
-
model_name = "
|
15 |
tokenizer = Wav2Vec2Tokenizer.from_pretrained(model_name)
|
16 |
model = Wav2Vec2ForCTC.from_pretrained(model_name)
|
17 |
|
|
|
11 |
nltk.download("punkt")
|
12 |
|
13 |
#Loading the model and the tokenizer
|
14 |
+
model_name = "bofenghuang/asr-wav2vec2-ctc-french" #"wasertech/wav2vec2-cv-fr-9"
|
15 |
tokenizer = Wav2Vec2Tokenizer.from_pretrained(model_name)
|
16 |
model = Wav2Vec2ForCTC.from_pretrained(model_name)
|
17 |
|