Datasets:
ArXiv:
License:
supporting audio zip files
Browse files- snow-mountain.py +1 -1
snow-mountain.py
CHANGED
@@ -144,7 +144,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
144 |
zip_url = '/'.join(row["path"].split('/')[:-1])+'.zip'
|
145 |
archive_path = dl_manager.download(zip_url)
|
146 |
for path, file in dl_manager.iter_archive(archive_path):
|
147 |
-
content =
|
148 |
if audio in path:
|
149 |
audio_data[audio] = content
|
150 |
if audio in audio_data:
|
|
|
144 |
zip_url = '/'.join(row["path"].split('/')[:-1])+'.zip'
|
145 |
archive_path = dl_manager.download(zip_url)
|
146 |
for path, file in dl_manager.iter_archive(archive_path):
|
147 |
+
content = file.read()
|
148 |
if audio in path:
|
149 |
audio_data[audio] = content
|
150 |
if audio in audio_data:
|