visualjoyce commited on
Commit
0c8b511
1 Parent(s): bfd9655

fix download

Browse files
Files changed (1) hide show
  1. ipquiz.py +1 -1
ipquiz.py CHANGED
@@ -117,7 +117,7 @@ class IPQuizDataset(datasets.GeneratorBasedBuilder):
117
  # 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.
118
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
119
  urls = _URLS[self.config.name]
120
- data_dir = dl_manager.download_and_extract(urls)
121
  return [
122
  datasets.SplitGenerator(
123
  name=datasets.Split.TEST,
 
117
  # 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.
118
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
119
  urls = _URLS[self.config.name]
120
+ data_dir = dl_manager.download(urls)
121
  return [
122
  datasets.SplitGenerator(
123
  name=datasets.Split.TEST,