Spaces:
Sleeping
Sleeping
examples
Browse files
app.py
CHANGED
@@ -534,7 +534,7 @@ def init_webui(unet, vae, normal_t):
|
|
534 |
output_images_u = gr.Gallery(show_label=False, height=400, columns=5)
|
535 |
gr.Examples(
|
536 |
examples=[["DDIM", 40, 2, 256, 255395]],
|
537 |
-
inputs=[
|
538 |
outputs=output_images_u,
|
539 |
fn=process_image_u,
|
540 |
# cache_examples=True,
|
@@ -562,7 +562,7 @@ def init_webui(unet, vae, normal_t):
|
|
562 |
output_images = gr.Gallery(show_label=False, height=400, columns=5)
|
563 |
gr.Examples(
|
564 |
examples=[["./example.jpg", 0.4, "DDIM", 60, 4, 320, 231324]], # 224477,378754
|
565 |
-
inputs=[input_image, noise_step,
|
566 |
outputs=output_images,
|
567 |
fn=process_image,
|
568 |
# cache_examples=True,
|
|
|
534 |
output_images_u = gr.Gallery(show_label=False, height=400, columns=5)
|
535 |
gr.Examples(
|
536 |
examples=[["DDIM", 40, 2, 256, 255395]],
|
537 |
+
inputs=[step_u, batch_size_u, sampler_name_u, img_size_u, ramdom_seed_u],
|
538 |
outputs=output_images_u,
|
539 |
fn=process_image_u,
|
540 |
# cache_examples=True,
|
|
|
562 |
output_images = gr.Gallery(show_label=False, height=400, columns=5)
|
563 |
gr.Examples(
|
564 |
examples=[["./example.jpg", 0.4, "DDIM", 60, 4, 320, 231324]], # 224477,378754
|
565 |
+
inputs=[input_image, noise_step, step, batch_size, sampler_name, img_size, ramdom_seed],
|
566 |
outputs=output_images,
|
567 |
fn=process_image,
|
568 |
# cache_examples=True,
|