system HF staff commited on
Commit
67c69f7
1 Parent(s): ae99fd9

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. telugu_books.py +1 -5
telugu_books.py CHANGED
@@ -77,11 +77,7 @@ class TeluguBooks(datasets.GeneratorBasedBuilder):
77
  path_to_manual_file = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
78
  if not os.path.exists(path_to_manual_file):
79
  raise FileNotFoundError(
80
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('telugu_books', data_dir=...)` that includes file name {}. Manual download instructions: {}".format(
81
- path_to_manual_file,
82
- _FILENAME,
83
- self.manual_download_instructions,
84
- )
85
  )
86
  return [
87
  datasets.SplitGenerator(
 
77
  path_to_manual_file = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
78
  if not os.path.exists(path_to_manual_file):
79
  raise FileNotFoundError(
80
+ f"{path_to_manual_file} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('telugu_books', data_dir=...)` that includes file name {_FILENAME}. Manual download instructions: {self.manual_download_instructions}"
 
 
 
 
81
  )
82
  return [
83
  datasets.SplitGenerator(