Update artwork_for_sdxl.py
Browse files- artwork_for_sdxl.py +3 -4
artwork_for_sdxl.py
CHANGED
@@ -90,9 +90,8 @@ class Artwork(datasets.GeneratorBasedBuilder):
|
|
90 |
print(os.getcwd())
|
91 |
img = self.download_image(_image_url+ row.file_name)
|
92 |
print(img)
|
93 |
-
examples={
|
94 |
-
|
95 |
-
|
96 |
-
}
|
97 |
print(examples)
|
98 |
yield examples
|
|
|
90 |
print(os.getcwd())
|
91 |
img = self.download_image(_image_url+ row.file_name)
|
92 |
print(img)
|
93 |
+
examples = {}
|
94 |
+
examples["image_data"] = img
|
95 |
+
examples["prompt"] = p
|
|
|
96 |
print(examples)
|
97 |
yield examples
|