kingabzpro
commited on
Commit
•
476225f
1
Parent(s):
d036b29
Update README.md
Browse files
README.md
CHANGED
@@ -60,7 +60,8 @@ data = load_dataset("mozilla-foundation/common_voice_8_0",
|
|
60 |
streaming=True,
|
61 |
use_auth_token=True)
|
62 |
|
63 |
-
sample_iter = iter(data.cast_column("path",
|
|
|
64 |
sample = next(sample_iter)
|
65 |
|
66 |
asr = pipeline("automatic-speech-recognition", model=model)
|
|
|
60 |
streaming=True,
|
61 |
use_auth_token=True)
|
62 |
|
63 |
+
sample_iter = iter(data.cast_column("path",
|
64 |
+
Audio(sampling_rate=16_000)))
|
65 |
sample = next(sample_iter)
|
66 |
|
67 |
asr = pipeline("automatic-speech-recognition", model=model)
|