Update girls-groups.py
Browse files- girls-groups.py +2 -2
girls-groups.py
CHANGED
@@ -68,7 +68,7 @@ class GirlsGroups(datasets.GeneratorBasedBuilder):
|
|
68 |
features=datasets.Features(
|
69 |
{
|
70 |
"image": datasets.Image(),
|
71 |
-
"
|
72 |
}
|
73 |
),
|
74 |
homepage=_HOMEPAGE,
|
@@ -107,5 +107,5 @@ class GirlsGroups(datasets.GeneratorBasedBuilder):
|
|
107 |
for file_path, file_obj in images:
|
108 |
yield file_path, {
|
109 |
"image": {"path": file_path, "bytes": file_obj.read()},
|
110 |
-
"
|
111 |
}
|
|
|
68 |
features=datasets.Features(
|
69 |
{
|
70 |
"image": datasets.Image(),
|
71 |
+
"text": datasets.Value(dtype='string', id=None),
|
72 |
}
|
73 |
),
|
74 |
homepage=_HOMEPAGE,
|
|
|
107 |
for file_path, file_obj in images:
|
108 |
yield file_path, {
|
109 |
"image": {"path": file_path, "bytes": file_obj.read()},
|
110 |
+
"text" : save_list[file_path]
|
111 |
}
|