Yehor commited on
Commit
2aedac1
1 Parent(s): f54362e

Use wav2vec2-xls-r-300m-uk-with-small-lm model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-1b-uk-with-lm"
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)