nthngdy commited on
Commit
8ed908e
1 Parent(s): 03e1e8f

Update oscar-mini.py

Browse files
Files changed (1) hide show
  1. 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
- downloaded_file = dl_manager.download(data_url)
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
  ]