Yassine
commited on
Commit
·
ce07250
1
Parent(s):
632415b
only dl data_files
Browse files- commavq.py +1 -1
commavq.py
CHANGED
|
@@ -25,7 +25,7 @@ class CommaVQ(datasets.GeneratorBasedBuilder):
|
|
| 25 |
def _split_generators(self, dl_manager):
|
| 26 |
"""Returns SplitGenerators."""
|
| 27 |
dl_manager.download_config.ignore_url_params = True
|
| 28 |
-
to_dl = self.config.data_files if self.config.data_files is not None else _DATA_FILES
|
| 29 |
downloaded_files = dl_manager.download(to_dl)
|
| 30 |
local_extracted_archive = dl_manager.extract(downloaded_files) if not dl_manager.is_streaming else [None]*len(downloaded_files)
|
| 31 |
return [
|
|
|
|
| 25 |
def _split_generators(self, dl_manager):
|
| 26 |
"""Returns SplitGenerators."""
|
| 27 |
dl_manager.download_config.ignore_url_params = True
|
| 28 |
+
to_dl = self.config.data_files.items() if self.config.data_files is not None else _DATA_FILES
|
| 29 |
downloaded_files = dl_manager.download(to_dl)
|
| 30 |
local_extracted_archive = dl_manager.extract(downloaded_files) if not dl_manager.is_streaming else [None]*len(downloaded_files)
|
| 31 |
return [
|