Datasets:
Update oscar-mini.py
Browse files- oscar-mini.py +1 -1
oscar-mini.py
CHANGED
@@ -282,7 +282,7 @@ class Oscar(datasets.GeneratorBasedBuilder):
|
|
282 |
|
283 |
def _split_generators(self, dl_manager):
|
284 |
data_url = self.config.base_data_url
|
285 |
-
|
286 |
return [
|
287 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepaths": downloaded_files}),
|
288 |
]
|
|
|
282 |
|
283 |
def _split_generators(self, dl_manager):
|
284 |
data_url = self.config.base_data_url
|
285 |
+
downloaded_files = [dl_manager.download(data_url)]
|
286 |
return [
|
287 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepaths": downloaded_files}),
|
288 |
]
|