Datasets:
Update files from the datasets library (from 1.17.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.17.0
- librispeech_asr.py +1 -1
librispeech_asr.py
CHANGED
@@ -102,7 +102,7 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
102 |
features=datasets.Features(
|
103 |
{
|
104 |
"file": datasets.Value("string"),
|
105 |
-
"audio": datasets.
|
106 |
"text": datasets.Value("string"),
|
107 |
"speaker_id": datasets.Value("int64"),
|
108 |
"chapter_id": datasets.Value("int64"),
|
|
|
102 |
features=datasets.Features(
|
103 |
{
|
104 |
"file": datasets.Value("string"),
|
105 |
+
"audio": datasets.Audio(sampling_rate=16_000),
|
106 |
"text": datasets.Value("string"),
|
107 |
"speaker_id": datasets.Value("int64"),
|
108 |
"chapter_id": datasets.Value("int64"),
|