Spaces:
Runtime error
Runtime error
diff
Browse files
app.py
CHANGED
@@ -150,6 +150,17 @@ with gr.Blocks(css=css) as demo:
|
|
150 |
img = gr.Image(label="PCM Image")
|
151 |
gr.Examples(
|
152 |
examples=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
[
|
154 |
"Echoes of a forgotten song drift across the moonlit sea, where a ghost ship sails, its spectral crew bound to an eternal quest for redemption.",
|
155 |
"4-Step",
|
@@ -174,7 +185,7 @@ with gr.Blocks(css=css) as demo:
|
|
174 |
|
175 |
gr.on(
|
176 |
fn=generate_image,
|
177 |
-
triggers=[prompt.submit, submit_sdxl.click],
|
178 |
inputs=[prompt, ckpt, steps],
|
179 |
outputs=[img],
|
180 |
)
|
|
|
150 |
img = gr.Image(label="PCM Image")
|
151 |
gr.Examples(
|
152 |
examples=[
|
153 |
+
[" astronaut walking on the moon", "4-Step", 4],
|
154 |
+
[
|
155 |
+
"Photo of a dramatic cliffside lighthouse in a storm, waves crashing, symbol of guidance and resilience.",
|
156 |
+
"8-Step",
|
157 |
+
8,
|
158 |
+
],
|
159 |
+
[
|
160 |
+
"Vincent vangogh style, painting, a boy, clouds in the sky",
|
161 |
+
"Normal CFG 4-Step",
|
162 |
+
4,
|
163 |
+
],
|
164 |
[
|
165 |
"Echoes of a forgotten song drift across the moonlit sea, where a ghost ship sails, its spectral crew bound to an eternal quest for redemption.",
|
166 |
"4-Step",
|
|
|
185 |
|
186 |
gr.on(
|
187 |
fn=generate_image,
|
188 |
+
triggers=[ckpt.change, prompt.submit, submit_sdxl.click],
|
189 |
inputs=[prompt, ckpt, steps],
|
190 |
outputs=[img],
|
191 |
)
|