This commit is contained in:
Starbeamrainbowlabs 2022-11-10 19:55:00 +00:00
parent 0aa2ce19f5
commit daf691bf43
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -6,7 +6,7 @@ from ..io.readfile import readfile
def read_metadata(dirpath_dataset):
if os.path.isfile(dirpath_dataset):
filepath_metadata = os.path.join(os.path.dirname(dirpath_dataset), "metadata.jsonl")
filepath_metadata = os.path.join(os.path.dirname(dirpath_dataset), "metadata.json")
else:
filepath_metadata = os.path.join(dirpath_dataset, "metadata.json")