Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -258,17 +258,17 @@ with gr.Blocks(css=css) as demo:
|
|
258 |
)
|
259 |
|
260 |
gr.Examples(
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
)
|
273 |
|
274 |
if __name__ == "__main__":
|
|
|
258 |
)
|
259 |
|
260 |
gr.Examples(
|
261 |
+
examples=[
|
262 |
+
["Floating island with waterfalls", 'Illustration Style', 50, 7.5, 42, 'Grayscale', 200, "256x256"],
|
263 |
+
["Futuristic city with neon lights", 'Line Art', 30, 8.0, 123, 'Bright', 300, "256x256"],
|
264 |
+
["Japanese garden with cherry blossoms", 'Hitokomoru Style', 40, 7.0, 789, 'Contrast', 250, "256x256"],
|
265 |
+
],
|
266 |
+
inputs=[text, style, inference_step, guidance_scale, seed, guidance_method, loss_scale, image_size],
|
267 |
+
outputs=[output_image, output_image_guided],
|
268 |
+
fn=inference,
|
269 |
+
cache_examples=True,
|
270 |
+
examples_per_page=5
|
271 |
+
|
272 |
)
|
273 |
|
274 |
if __name__ == "__main__":
|