system HF staff commited on
Commit
deb2f45
1 Parent(s): 5959030

Update files from the datasets library (from 1.16.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.16.0

Files changed (1) hide show
  1. wikihow.py +1 -3
wikihow.py CHANGED
@@ -135,9 +135,7 @@ class Wikihow(datasets.GeneratorBasedBuilder):
135
 
136
  if not os.path.exists(path_to_manual_file):
137
  raise FileNotFoundError(
138
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('wikihow', data_dir=...)` that includes a file name {}. Manual download instructions: {})".format(
139
- path_to_manual_file, self.config.filename, self.manual_download_instructions
140
- )
141
  )
142
  return [
143
  datasets.SplitGenerator(
135
 
136
  if not os.path.exists(path_to_manual_file):
137
  raise FileNotFoundError(
138
+ f"{path_to_manual_file} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('wikihow', data_dir=...)` that includes a file name {self.config.filename}. Manual download instructions: {self.manual_download_instructions})"
 
 
139
  )
140
  return [
141
  datasets.SplitGenerator(