Commit
·
2ffb96b
1
Parent(s):
380e80e
Upload conceptual_captions.py with huggingface_hub
Browse files- conceptual_captions.py +2 -2
conceptual_captions.py
CHANGED
|
@@ -21,10 +21,10 @@ class ConceptualCaptions(datasets.GeneratorBasedBuilder):
|
|
| 21 |
def _info(self):
|
| 22 |
return datasets.DatasetInfo(
|
| 23 |
description=_DESCRIPTION,
|
| 24 |
-
features={
|
| 25 |
'image': datasets.Image(),
|
| 26 |
'caption': datasets.Value('string')
|
| 27 |
-
},
|
| 28 |
supervised_keys=None,
|
| 29 |
homepage=_HOMEPAGE,
|
| 30 |
license=_LICENSE,
|
|
|
|
| 21 |
def _info(self):
|
| 22 |
return datasets.DatasetInfo(
|
| 23 |
description=_DESCRIPTION,
|
| 24 |
+
features=datasets.Features({
|
| 25 |
'image': datasets.Image(),
|
| 26 |
'caption': datasets.Value('string')
|
| 27 |
+
}),
|
| 28 |
supervised_keys=None,
|
| 29 |
homepage=_HOMEPAGE,
|
| 30 |
license=_LICENSE,
|