Skip to content

Commit b87e460

Browse files
committed
style
1 parent 94e93a7 commit b87e460

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/nlp/load.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,4 +578,6 @@ def load_from_disk(dataset_path: str) -> Union[Dataset, DatasetDict]:
578578
elif os.path.exists(os.path.join(dataset_path, "dataset_dict.json")):
579579
return DatasetDict.load_from_disk(dataset_path)
580580
else:
581-
raise FileNotFoundError("Directory {} is neither a dataset directory nor a dataset dict directory.".format(dataset_path))
581+
raise FileNotFoundError(
582+
"Directory {} is neither a dataset directory nor a dataset dict directory.".format(dataset_path)
583+
)

0 commit comments

Comments
 (0)