sagot commited on
Commit
f0522ac
·
1 Parent(s): ed1a54b

Update lefff_morpho.py

Browse files
Files changed (1) hide show
  1. lefff_morpho.py +1 -1
lefff_morpho.py CHANGED
@@ -112,7 +112,7 @@ class LefffMorpho(datasets.GeneratorBasedBuilder):
112
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
113
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
114
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
115
- urls = _URLS[self.config.name]
116
  data_dir = dl_manager.download_and_extract(urls)
117
  return [datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={'filepath': downloaded_files['test']})]
118
 
 
112
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
113
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
114
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
115
+ urls = _URLS["all"]
116
  data_dir = dl_manager.download_and_extract(urls)
117
  return [datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={'filepath': downloaded_files['test']})]
118