dreamdrop-art commited on
Commit
d7de7d0
1 Parent(s): ea0045c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -310,7 +310,7 @@ with gr.Blocks(css=css) as demo:
310
  seed = gr.Number(label="Seed", value=-1)
311
 
312
  with gr.Column(scale=2):
313
- image_output = gr.Gallery(show_label=False, rows=2)
314
  send_to_img2img = gr.Button(value="Send OUTPUT IMAGE to img2img")
315
  send_to_png = gr.Button(value="Send OUTPUT IMAGE to PNG Info")
316
  past_url = gr.Textbox(visible=False, interactive=False)
@@ -356,7 +356,7 @@ with gr.Blocks(css=css) as demo:
356
 
357
 
358
  with gr.Column(scale=2):
359
- i2i_image_output = gr.Gallery(show_label=False, rows=2)
360
  send_to_png_i2i = gr.Button(value="Send INPUT IMAGE to PNG Info")
361
  i2i_past_url = gr.Textbox(visible=False, interactive=False)
362
 
@@ -444,7 +444,7 @@ with gr.Blocks(css=css) as demo:
444
  hf_seed = gr.Number(label="Seed", value=-1)
445
 
446
  with gr.Column(scale=2):
447
- hf_image_output = gr.Gallery(show_label=False, preview=True, columns=4, allow_preview=True)
448
  #hf_send_to_img2img = gr.Button(value="Send to img2img")
449
 
450
  hf_text_button.click(hf_inference, inputs=[hf_prompt, hf_negative_prompt, hf_model, hf_steps, sampler, hf_cfg_scale, hf_width, hf_height,
@@ -489,7 +489,7 @@ with gr.Blocks(css=css) as demo:
489
  us_radio = gr.Radio(label="Upscale Levels", choices=[2, 4, 6, 8, 10], value=2, scale=5)
490
  us_button = gr.Button(value="Generate with Upscaler", variant="primary", scale=5)
491
  with gr.Column(scale=1):
492
- us_output = gr.Gallery(show_label=False, rows=3, preview=True, scale=1)
493
  send_to_img2img_us = gr.Button(value="Send UPSCALED IMAGE to img2img")
494
  us_past = gr.Image(interactive=False, visible=False)
495
 
 
310
  seed = gr.Number(label="Seed", value=-1)
311
 
312
  with gr.Column(scale=2):
313
+ image_output = gr.Gallery(show_label=False, rows=2, preview=True)
314
  send_to_img2img = gr.Button(value="Send OUTPUT IMAGE to img2img")
315
  send_to_png = gr.Button(value="Send OUTPUT IMAGE to PNG Info")
316
  past_url = gr.Textbox(visible=False, interactive=False)
 
356
 
357
 
358
  with gr.Column(scale=2):
359
+ i2i_image_output = gr.Gallery(show_label=False, rows=2, preview=True)
360
  send_to_png_i2i = gr.Button(value="Send INPUT IMAGE to PNG Info")
361
  i2i_past_url = gr.Textbox(visible=False, interactive=False)
362
 
 
444
  hf_seed = gr.Number(label="Seed", value=-1)
445
 
446
  with gr.Column(scale=2):
447
+ hf_image_output = gr.Gallery(show_label=False, preview=True, rows=2, allow_preview=True)
448
  #hf_send_to_img2img = gr.Button(value="Send to img2img")
449
 
450
  hf_text_button.click(hf_inference, inputs=[hf_prompt, hf_negative_prompt, hf_model, hf_steps, sampler, hf_cfg_scale, hf_width, hf_height,
 
489
  us_radio = gr.Radio(label="Upscale Levels", choices=[2, 4, 6, 8, 10], value=2, scale=5)
490
  us_button = gr.Button(value="Generate with Upscaler", variant="primary", scale=5)
491
  with gr.Column(scale=1):
492
+ us_output = gr.Gallery(show_label=False, rows=2, preview=True, scale=1)
493
  send_to_img2img_us = gr.Button(value="Send UPSCALED IMAGE to img2img")
494
  us_past = gr.Image(interactive=False, visible=False)
495