Commit
·
9f619cd
1
Parent(s):
7750c0f
Update stained-glass.py
Browse files- stained-glass.py +1 -1
stained-glass.py
CHANGED
|
@@ -48,5 +48,5 @@ class StainedGlass(datasets.GeneratorBasedBuilder):
|
|
| 48 |
for key, image_path in image_paths.items():
|
| 49 |
yield key + adjective, {
|
| 50 |
"image": image_path,
|
| 51 |
-
"caption": captions[key].format(token='
|
| 52 |
}
|
|
|
|
| 48 |
for key, image_path in image_paths.items():
|
| 49 |
yield key + adjective, {
|
| 50 |
"image": image_path,
|
| 51 |
+
"caption": captions[key].format(token='{token}', adjective=adjective),
|
| 52 |
}
|