Datasets:

Lauler commited on
Commit
598981c
1 Parent(s): 8ad28ec

Empty dict for streaming dataset

Browse files
Files changed (1) hide show
  1. rixvox.py +1 -1
rixvox.py CHANGED
@@ -120,7 +120,7 @@ class Rixvox(datasets.GeneratorBasedBuilder):
120
  meta_urls = {self.config.name: meta_urls[self.config.name]}
121
 
122
  archive_paths = dl_manager.download(archive_urls)
123
- local_extracted_archives = dl_manager.extract(archive_paths) if not dl_manager.is_streaming else None
124
  meta_paths = dl_manager.download(meta_urls)
125
 
126
  split_generators = []
 
120
  meta_urls = {self.config.name: meta_urls[self.config.name]}
121
 
122
  archive_paths = dl_manager.download(archive_urls)
123
+ local_extracted_archives = dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
124
  meta_paths = dl_manager.download(meta_urls)
125
 
126
  split_generators = []