theSure commited on
Commit
f738a77
·
verified ·
1 Parent(s): 99a73f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -270,7 +270,7 @@ with gr.Blocks(
270
  gr.Markdown("## 📥 Input Panel")
271
 
272
  with gr.Group():
273
- image_input = gr.Image(label="Upload Image", type="pil", image_mode="RGB")
274
  uploaded_mask = gr.Image(label="Upload Mask", type="pil", image_mode="L")
275
  with gr.Row(variant="compact"):
276
  run_button = gr.Button(
@@ -315,7 +315,7 @@ with gr.Blocks(
315
  example = gr.Examples(
316
  examples=image_examples,
317
  inputs=[
318
- image_input, uploaded_mask
319
  ],
320
  outputs=[inpaint_result, gallery],
321
  examples_per_page=10,
 
270
  gr.Markdown("## 📥 Input Panel")
271
 
272
  with gr.Group():
273
+ input_image = gr.Image(label="Upload Image", type="pil", image_mode="RGB")
274
  uploaded_mask = gr.Image(label="Upload Mask", type="pil", image_mode="L")
275
  with gr.Row(variant="compact"):
276
  run_button = gr.Button(
 
315
  example = gr.Examples(
316
  examples=image_examples,
317
  inputs=[
318
+ input_image, uploaded_mask
319
  ],
320
  outputs=[inpaint_result, gallery],
321
  examples_per_page=10,