wintercoming6
commited on
Commit
•
2035f82
1
Parent(s):
d42e5e0
Update artwork_for_sdxl.py
Browse files- artwork_for_sdxl.py +1 -2
artwork_for_sdxl.py
CHANGED
@@ -20,7 +20,6 @@ import pandas as pd
|
|
20 |
import datasets
|
21 |
from PIL import Image
|
22 |
|
23 |
-
# from .classes import IMAGENET2012_CLASSES
|
24 |
|
25 |
|
26 |
_HOMEPAGE = "https://huggingface.co/datasets/wintercoming6/artwork_for_sdxl/tree/main"
|
@@ -45,7 +44,7 @@ class Artwork(datasets.GeneratorBasedBuilder):
|
|
45 |
features=datasets.Features(
|
46 |
{
|
47 |
"prompt": str,
|
48 |
-
"image_data": Image,
|
49 |
}
|
50 |
),
|
51 |
supervised_keys=("prompt","image_data"),
|
|
|
20 |
import datasets
|
21 |
from PIL import Image
|
22 |
|
|
|
23 |
|
24 |
|
25 |
_HOMEPAGE = "https://huggingface.co/datasets/wintercoming6/artwork_for_sdxl/tree/main"
|
|
|
44 |
features=datasets.Features(
|
45 |
{
|
46 |
"prompt": str,
|
47 |
+
"image_data": Image.Image,
|
48 |
}
|
49 |
),
|
50 |
supervised_keys=("prompt","image_data"),
|