Update common_voice_16_0_.py
Browse files- common_voice_16_0_.py +1 -1
common_voice_16_0_.py
CHANGED
@@ -140,7 +140,7 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
|
|
140 |
splits = ("train", "dev", "test", "other")
|
141 |
for split in splits:
|
142 |
audio_urls[split] = [
|
143 |
-
_AUDIO_URL.format(lang='ha', split=split, shard_idx=0) for
|
144 |
]
|
145 |
archive_paths = dl_manager.download(audio_urls)
|
146 |
local_extracted_archive_paths = dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
|
|
|
140 |
splits = ("train", "dev", "test", "other")
|
141 |
for split in splits:
|
142 |
audio_urls[split] = [
|
143 |
+
_AUDIO_URL.format(lang='ha', split=split, shard_idx=0) for i in range(n_shards['ha'][split])
|
144 |
]
|
145 |
archive_paths = dl_manager.download(audio_urls)
|
146 |
local_extracted_archive_paths = dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
|