system HF staff commited on
Commit
dedec33
1 Parent(s): a44b39e

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. style_change_detection.py +1 -3
style_change_detection.py CHANGED
@@ -95,9 +95,7 @@ class StyleChangeDetection(datasets.GeneratorBasedBuilder):
95
 
96
  if not os.path.exists(train_dir):
97
  raise FileNotFoundError(
98
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('style_change_detection', data_dir=...)` that includes {}. Manual download instructions: {}".format(
99
- train_dir, train_dir, self.manual_download_instructions
100
- )
101
  )
102
 
103
  return [
 
95
 
96
  if not os.path.exists(train_dir):
97
  raise FileNotFoundError(
98
+ f"{train_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('style_change_detection', data_dir=...)` that includes {train_dir}. Manual download instructions: {self.manual_download_instructions}"
 
 
99
  )
100
 
101
  return [