Datasets:

davanstrien HF staff commited on
Commit
7e4ac9f
1 Parent(s): c2b837c

remove unused collumns

Browse files
Files changed (1) hide show
  1. nls_chapbook_illustrations.py +2 -2
nls_chapbook_illustrations.py CHANGED
@@ -67,7 +67,7 @@ class NationalLibraryScotlandChapBooks(datasets.GeneratorBasedBuilder):
67
  "image": datasets.Image(),
68
  "width": datasets.Value("int32"),
69
  "height": datasets.Value("int32"),
70
- "url": datasets.Value("string"),
71
  }
72
  )
73
  object_dict = {
@@ -131,7 +131,7 @@ class NationalLibraryScotlandChapBooks(datasets.GeneratorBasedBuilder):
131
  "image": os.path.join(image_dir, image),
132
  "width": image_info["width"],
133
  "height": image_info["height"],
134
- "url": image_info.get("url"),
135
  }
136
 
137
  with open(annotations_file, encoding="utf8") as f:
 
67
  "image": datasets.Image(),
68
  "width": datasets.Value("int32"),
69
  "height": datasets.Value("int32"),
70
+ # "url": datasets.Value("string"),
71
  }
72
  )
73
  object_dict = {
 
131
  "image": os.path.join(image_dir, image),
132
  "width": image_info["width"],
133
  "height": image_info["height"],
134
+ # "url": image_info.get("url"),
135
  }
136
 
137
  with open(annotations_file, encoding="utf8") as f: