Spaces:
Running
on
Zero
Running
on
Zero
bunarivenna
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import torch
|
|
12 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
13 |
|
14 |
DESCRIPTION = """
|
15 |
-
#
|
16 |
"""
|
17 |
|
18 |
def save_image(img):
|
@@ -87,12 +87,28 @@ def generate(
|
|
87 |
return image_paths, seed
|
88 |
|
89 |
examples = [
|
90 |
-
"
|
91 |
-
"
|
92 |
-
"
|
93 |
-
"
|
94 |
-
"
|
95 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
]
|
97 |
|
98 |
css = '''
|
@@ -121,8 +137,10 @@ with gr.Blocks(css=css, theme="pseudolab/huggingface-korea-theme") as demo:
|
|
121 |
)
|
122 |
run_button = gr.Button("Run", scale=0)
|
123 |
result = gr.Gallery(label="Result", columns=1, preview=True, show_label=False)
|
|
|
124 |
with gr.Accordion("Advanced options", open=False):
|
125 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
|
|
126 |
negative_prompt = gr.Text(
|
127 |
label="Negative prompt",
|
128 |
lines=4,
|
|
|
12 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
13 |
|
14 |
DESCRIPTION = """
|
15 |
+
# PONIO LOGO DESIGNER
|
16 |
"""
|
17 |
|
18 |
def save_image(img):
|
|
|
87 |
return image_paths, seed
|
88 |
|
89 |
examples = [
|
90 |
+
"Monogram",
|
91 |
+
"Combination",
|
92 |
+
"Wordmark",
|
93 |
+
"Letterform",
|
94 |
+
"Monogram",
|
95 |
+
"Abstract",
|
96 |
+
"Mascot",
|
97 |
+
"Emblem",
|
98 |
+
"Dynamic",
|
99 |
+
"3D",
|
100 |
+
"Animated",
|
101 |
+
"neon holography crystal",
|
102 |
+
"neon holography",
|
103 |
+
"pixel art",
|
104 |
+
"artistic",
|
105 |
+
"cute",
|
106 |
+
"animation",
|
107 |
+
"cartoon",
|
108 |
+
"Drawing"
|
109 |
+
"vector art",
|
110 |
+
"modern",
|
111 |
+
"watercolor"
|
112 |
]
|
113 |
|
114 |
css = '''
|
|
|
137 |
)
|
138 |
run_button = gr.Button("Run", scale=0)
|
139 |
result = gr.Gallery(label="Result", columns=1, preview=True, show_label=False)
|
140 |
+
|
141 |
with gr.Accordion("Advanced options", open=False):
|
142 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
143 |
+
|
144 |
negative_prompt = gr.Text(
|
145 |
label="Negative prompt",
|
146 |
lines=4,
|