Datasets:

ArXiv:
License:
Anjaly commited on
Commit
7e535ff
1 Parent(s): 51e47b0

added gaddi

Browse files
Files changed (1) hide show
  1. 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
- 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
  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: