Datasets:
ArXiv:
License:
added gaddi
Browse files- snow-mountain.py +2 -2
snow-mountain.py
CHANGED
@@ -141,8 +141,8 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
141 |
if audio in audio_data:
|
142 |
content = audio_data[audio]
|
143 |
else:
|
144 |
-
|
145 |
-
archive_path = dl_manager.download(
|
146 |
for path, file in dl_manager.iter_archive(archive_path):
|
147 |
audio_ = path.split('/')[-1]
|
148 |
if audio_ not in audio_data:
|
|
|
141 |
if audio in audio_data:
|
142 |
content = audio_data[audio]
|
143 |
else:
|
144 |
+
archive_url = '/'.join(row["path"].split('/')[:-1])+'.tar.gz'
|
145 |
+
archive_path = dl_manager.download(archive_url)
|
146 |
for path, file in dl_manager.iter_archive(archive_path):
|
147 |
audio_ = path.split('/')[-1]
|
148 |
if audio_ not in audio_data:
|