Update artwork_for_sdxl.py
Browse files- artwork_for_sdxl.py +3 -3
artwork_for_sdxl.py
CHANGED
@@ -72,9 +72,9 @@ class Artwork(datasets.GeneratorBasedBuilder):
|
|
72 |
print(path)
|
73 |
print(path.prompt)
|
74 |
print(type(path.prompt))
|
75 |
-
print(path.
|
76 |
-
print(type(path.
|
77 |
yield {
|
78 |
"prompt": path.prompt,
|
79 |
-
"image_data": Image.open(path.
|
80 |
}
|
|
|
72 |
print(path)
|
73 |
print(path.prompt)
|
74 |
print(type(path.prompt))
|
75 |
+
print(path.file_name)
|
76 |
+
print(type(path.file_name))
|
77 |
yield {
|
78 |
"prompt": path.prompt,
|
79 |
+
"image_data": Image.open(path.file_name),
|
80 |
}
|