Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
Libraries:
Datasets
pandas
License:
sileod commited on
Commit
fda2265
1 Parent(s): 7ba9dbe

Update disrpt.py

Browse files
Files changed (1) hide show
  1. disrpt.py +1 -1
disrpt.py CHANGED
@@ -138,7 +138,7 @@ class Dataset(datasets.GeneratorBasedBuilder):
138
  type = self.config.name.split('.')[-1]
139
  urls={k:v for (k,v) in _URLs.items() if cfg_name in k and requests.get(v).status_code!=404}
140
  data_file = dl_manager.download(urls)
141
- self.files[self.config.name]=data_file
142
  train_key = data_dir+'-train'
143
  print("datafile:",data_file, self.config.data_dir)
144
  if train_key in data_file:
 
138
  type = self.config.name.split('.')[-1]
139
  urls={k:v for (k,v) in _URLs.items() if cfg_name in k and requests.get(v).status_code!=404}
140
  data_file = dl_manager.download(urls)
141
+ self.files = {**self.files, **data_file}
142
  train_key = data_dir+'-train'
143
  print("datafile:",data_file, self.config.data_dir)
144
  if train_key in data_file: