wintercoming6
commited on
Commit
•
c63eb1b
1
Parent(s):
ef00c8c
Update artwork_for_sdxl.py
Browse files- artwork_for_sdxl.py +5 -3
artwork_for_sdxl.py
CHANGED
@@ -83,11 +83,13 @@ class Artwork(datasets.GeneratorBasedBuilder):
|
|
83 |
print(path.file_name)
|
84 |
print(type(path.file_name))
|
85 |
# print current os directory
|
|
|
|
|
86 |
|
87 |
print(os.getcwd())
|
88 |
img = self.download_image(_image_url+ path.file_name)
|
89 |
print(img)
|
90 |
-
yield
|
91 |
-
"prompt":
|
92 |
-
"image_data":
|
93 |
}
|
|
|
83 |
print(path.file_name)
|
84 |
print(type(path.file_name))
|
85 |
# print current os directory
|
86 |
+
p=path.prompt
|
87 |
+
n=path.file_name
|
88 |
|
89 |
print(os.getcwd())
|
90 |
img = self.download_image(_image_url+ path.file_name)
|
91 |
print(img)
|
92 |
+
yield {
|
93 |
+
"prompt": p,
|
94 |
+
"image_data": n,
|
95 |
}
|