Update README.md
Browse files
README.md
CHANGED
@@ -43,7 +43,7 @@ This model can be used e.g. to extract per-frame contextual embeddings from audi
|
|
43 |
from transformers import Wav2Vec2Model, Wav2Vec2FeatureExtractor
|
44 |
import torchaudio
|
45 |
|
46 |
-
feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained("fav-kky/wav2vec2-base-cs-
|
47 |
model = Wav2Vec2Model.from_pretrained("fav-kky/wav2vec2-base-cs-50k")
|
48 |
|
49 |
speech_array, sampling_rate = torchaudio.load("/path/to/audio/file.wav")
|
|
|
43 |
from transformers import Wav2Vec2Model, Wav2Vec2FeatureExtractor
|
44 |
import torchaudio
|
45 |
|
46 |
+
feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained("fav-kky/wav2vec2-base-cs-50k")
|
47 |
model = Wav2Vec2Model.from_pretrained("fav-kky/wav2vec2-base-cs-50k")
|
48 |
|
49 |
speech_array, sampling_rate = torchaudio.load("/path/to/audio/file.wav")
|