moukaii commited on
Commit
3a73445
·
verified ·
1 Parent(s): 59c6eec

Update Tuberculosis_Dataset.py

Browse files
Files changed (1) hide show
  1. Tuberculosis_Dataset.py +1 -1
Tuberculosis_Dataset.py CHANGED
@@ -28,7 +28,7 @@ class TuberculosisDataset(GeneratorBasedBuilder):
28
  "age": Value("int8"),
29
  "case_text": Value("string"),
30
  "keywords": Value("string"),
31
- "image_file": Sequence(Image()), # Updated to singular and using Image type
32
  "caption": Value("string"),
33
  }),
34
  supervised_keys=None,
 
28
  "age": Value("int8"),
29
  "case_text": Value("string"),
30
  "keywords": Value("string"),
31
+ "image_file": Image(allow_null=True), # Updated to singular and using Image type
32
  "caption": Value("string"),
33
  }),
34
  supervised_keys=None,