nljubesi commited on
Commit
67a746a
1 Parent(s): f3fef21

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -33,12 +33,12 @@ import os
33
 
34
  # load model and tokenizer
35
  processor = Wav2Vec2Processor.from_pretrained(
36
- "classla/wav2vec2-xls-r-sabor-hr")
37
- model = Wav2Vec2ForCTC.from_pretrained("classla/wav2vec2-xls-r-sabor-hr")
38
 
39
 
40
  # download the example wav files:
41
- os.system("curl https://huggingface.co/classla/wav2vec2-xls-r-sabor-hr/raw/main/00020570a.flac.wav")
42
 
43
  # read the wav file as datasets.Audio object
44
  audio = Audio(sampling_rate=16000).decode_example("00020570a.flac.wav")
33
 
34
  # load model and tokenizer
35
  processor = Wav2Vec2Processor.from_pretrained(
36
+ "classla/wav2vec2-xls-r-parlaspeech-hr")
37
+ model = Wav2Vec2ForCTC.from_pretrained("classla/wav2vec2-xls-r-parlaspeech-hr")
38
 
39
 
40
  # download the example wav files:
41
+ os.system("curl https://huggingface.co/classla/wav2vec2-xls-r-parlaspeech-hr/raw/main/00020570a.flac.wav")
42
 
43
  # read the wav file as datasets.Audio object
44
  audio = Audio(sampling_rate=16000).decode_example("00020570a.flac.wav")