Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
- 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: {}"
|
| 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(
|