sadrasabouri
commited on
Commit
•
b96632b
1
Parent(s):
f932e73
Update README.md
Browse files
README.md
CHANGED
@@ -52,7 +52,7 @@ from transformers import AutoProcessor, AutoModelForCTC
|
|
52 |
processor = AutoProcessor.from_pretrained("SLPL/Sharif-wav2vec2")
|
53 |
model = AutoModelForCTC.from_pretrained("SLPL/Sharif-wav2vec2")
|
54 |
|
55 |
-
speech_array, sampling_rate = torchaudio.load("
|
56 |
speech_array = speech_array.squeeze().numpy()
|
57 |
|
58 |
features = processor(
|
|
|
52 |
processor = AutoProcessor.from_pretrained("SLPL/Sharif-wav2vec2")
|
53 |
model = AutoModelForCTC.from_pretrained("SLPL/Sharif-wav2vec2")
|
54 |
|
55 |
+
speech_array, sampling_rate = torchaudio.load("path/to/your.wav")
|
56 |
speech_array = speech_array.squeeze().numpy()
|
57 |
|
58 |
features = processor(
|