Spaces:
Sleeping
Sleeping
Use wav2vec2-xls-r-300m-uk-with-small-lm model
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import Wav2Vec2CTCTokenizer, Wav2Vec2ForCTC, Wav2Vec2Processor
|
|
3 |
import torch
|
4 |
import torchaudio
|
5 |
|
6 |
-
model_name = "Yehor/wav2vec2-xls-r-
|
7 |
|
8 |
tokenizer = Wav2Vec2CTCTokenizer.from_pretrained(model_name)
|
9 |
processor = Wav2Vec2ProcessorWithLM.from_pretrained(model_name)
|
|
|
3 |
import torch
|
4 |
import torchaudio
|
5 |
|
6 |
+
model_name = "Yehor/wav2vec2-xls-r-300m-uk-with-small-lm"
|
7 |
|
8 |
tokenizer = Wav2Vec2CTCTokenizer.from_pretrained(model_name)
|
9 |
processor = Wav2Vec2ProcessorWithLM.from_pretrained(model_name)
|