Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,10 +11,6 @@ import spaces
|
|
11 |
import torch
|
12 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
13 |
|
14 |
-
DESCRIPTION = """
|
15 |
-
# DALL•E 3 XL v2
|
16 |
-
"""
|
17 |
-
|
18 |
def save_image(img):
|
19 |
unique_name = str(uuid.uuid4()) + ".png"
|
20 |
img.save(unique_name)
|
@@ -88,8 +84,10 @@ def generate(
|
|
88 |
|
89 |
examples = [
|
90 |
"neon holography crystal cat",
|
|
|
91 |
"a cat eating a piece of cheese",
|
92 |
"an astronaut riding a horse in space",
|
|
|
93 |
"a cartoon of a boy playing with a tiger",
|
94 |
"a cute robot artist painting on an easel, concept art",
|
95 |
"a close up of a woman wearing a transparent, prismatic, elaborate nemeses headdress, over the should pose, brown skin-tone"
|
|
|
11 |
import torch
|
12 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
13 |
|
|
|
|
|
|
|
|
|
14 |
def save_image(img):
|
15 |
unique_name = str(uuid.uuid4()) + ".png"
|
16 |
img.save(unique_name)
|
|
|
84 |
|
85 |
examples = [
|
86 |
"neon holography crystal cat",
|
87 |
+
"newton thinking about the falling of an apple from the tree"
|
88 |
"a cat eating a piece of cheese",
|
89 |
"an astronaut riding a horse in space",
|
90 |
+
"a beautiful farmhouse"
|
91 |
"a cartoon of a boy playing with a tiger",
|
92 |
"a cute robot artist painting on an easel, concept art",
|
93 |
"a close up of a woman wearing a transparent, prismatic, elaborate nemeses headdress, over the should pose, brown skin-tone"
|