5roop commited on
Commit
c669a62
1 Parent(s): 13fa50e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -47,12 +47,12 @@ device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
47
 
48
  # load model and tokenizer
49
  processor = Wav2Vec2Processor.from_pretrained(
50
- "classla/wav2vec2-xls-r-parlaspeech-hr")
51
- model = Wav2Vec2ForCTC.from_pretrained("classla/wav2vec2-xls-r-parlaspeech-hr")
52
 
53
 
54
  # download the example wav files:
55
- os.system("wget https://huggingface.co/classla/wav2vec2-xls-r-parlaspeech-hr/raw/main/00020570a.flac.wav")
56
 
57
  # read the wav file
58
  speech, sample_rate = sf.read("00020570a.flac.wav")
 
47
 
48
  # load model and tokenizer
49
  processor = Wav2Vec2Processor.from_pretrained(
50
+ "5roop/wav2vec2-xls-r-parlaspeech-hr-lm")
51
+ model = Wav2Vec2ForCTC.from_pretrained("5roop/wav2vec2-xls-r-parlaspeech-hr-lm")
52
 
53
 
54
  # download the example wav files:
55
+ os.system("wget https://huggingface.co/5roop/wav2vec2-xls-r-parlaspeech-hr-lm/raw/main/00020570a.flac.wav")
56
 
57
  # read the wav file
58
  speech, sample_rate = sf.read("00020570a.flac.wav")