Datasets:
change audio feature
Browse files
fleurs.py
CHANGED
@@ -101,7 +101,8 @@ class Fleurs(datasets.GeneratorBasedBuilder):
|
|
101 |
"id": datasets.Value("int32"),
|
102 |
"num_samples": datasets.Value("int32"),
|
103 |
"path": datasets.Value("string"),
|
104 |
-
"audio": datasets.Audio(sampling_rate=48_000),
|
|
|
105 |
"transcription": datasets.Value("string"),
|
106 |
"raw_transcription": datasets.Value("string"),
|
107 |
"lang_id": datasets.ClassLabel(names=langs),
|
|
|
101 |
"id": datasets.Value("int32"),
|
102 |
"num_samples": datasets.Value("int32"),
|
103 |
"path": datasets.Value("string"),
|
104 |
+
# "audio": datasets.Audio(sampling_rate=48_000),
|
105 |
+
"audio": datasets.features.Audio(sampling_rate=48_000),
|
106 |
"transcription": datasets.Value("string"),
|
107 |
"raw_transcription": datasets.Value("string"),
|
108 |
"lang_id": datasets.ClassLabel(names=langs),
|