Reduced sampling rate to 16k.
Browse files- ERRnews.py +2 -2
ERRnews.py
CHANGED
@@ -80,7 +80,7 @@ class ERRNews(datasets.GeneratorBasedBuilder):
|
|
80 |
})
|
81 |
|
82 |
if self.config.name == "audio":
|
83 |
-
features["audio"] = datasets.features.Audio(sampling_rate=
|
84 |
features["recording_id"] = datasets.Value("int32")
|
85 |
|
86 |
if self.config.name == "et_en":
|
@@ -90,7 +90,7 @@ class ERRNews(datasets.GeneratorBasedBuilder):
|
|
90 |
if self.config.name == "full":
|
91 |
features["en_summary"] = datasets.Value("string")
|
92 |
features["en_transcript"] = datasets.Value("string")
|
93 |
-
features["audio"] = datasets.features.Audio(sampling_rate=
|
94 |
features["recording_id"] = datasets.Value("int32")
|
95 |
|
96 |
return datasets.DatasetInfo(
|
|
|
80 |
})
|
81 |
|
82 |
if self.config.name == "audio":
|
83 |
+
features["audio"] = datasets.features.Audio(sampling_rate=16_000)
|
84 |
features["recording_id"] = datasets.Value("int32")
|
85 |
|
86 |
if self.config.name == "et_en":
|
|
|
90 |
if self.config.name == "full":
|
91 |
features["en_summary"] = datasets.Value("string")
|
92 |
features["en_transcript"] = datasets.Value("string")
|
93 |
+
features["audio"] = datasets.features.Audio(sampling_rate=16_000)
|
94 |
features["recording_id"] = datasets.Value("int32")
|
95 |
|
96 |
return datasets.DatasetInfo(
|