ro-h commited on
Commit
19e51b5
1 Parent(s): e0ee352

URLS fixed

Browse files
Files changed (1) hide show
  1. regulatory_comments.py +1 -1
regulatory_comments.py CHANGED
@@ -98,7 +98,7 @@ class RegComments(datasets.GeneratorBasedBuilder):
98
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
99
  # 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.
100
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
101
- urls = _URLS[self.config.name]
102
  data_dir = dl_manager.download_and_extract(urls)
103
  print("urls accessed")
104
  return [datasets.SplitGenerator(name=datasets.Split.TRAIN,
 
98
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
99
  # 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.
100
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
101
+ urls = _URLS
102
  data_dir = dl_manager.download_and_extract(urls)
103
  print("urls accessed")
104
  return [datasets.SplitGenerator(name=datasets.Split.TRAIN,