Datasets:
Commit
•
4b45f74
1
Parent(s):
ef112c4
[Test] : Printing audio urls (#16)
Browse files- [Test] : Printing audio urls (e9e2760dd81741741abdd1029c1dd39a1c71f84a)
Co-authored-by: Anand Milind Kamble <[email protected]>
- common_voice_11_0.py +1 -0
common_voice_11_0.py
CHANGED
@@ -140,6 +140,7 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
|
|
140 |
audio_urls[split] = [
|
141 |
_AUDIO_URL.format(lang=lang, split=split, shard_idx=i) for i in range(n_shards[lang][split])
|
142 |
]
|
|
|
143 |
archive_paths = dl_manager.download(audio_urls)
|
144 |
local_extracted_archive_paths = dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
|
145 |
|
|
|
140 |
audio_urls[split] = [
|
141 |
_AUDIO_URL.format(lang=lang, split=split, shard_idx=i) for i in range(n_shards[lang][split])
|
142 |
]
|
143 |
+
print(audio_urls)
|
144 |
archive_paths = dl_manager.download(audio_urls)
|
145 |
local_extracted_archive_paths = dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
|
146 |
|