Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -270,7 +270,7 @@ with gr.Blocks(
|
|
270 |
gr.Markdown("## 📥 Input Panel")
|
271 |
|
272 |
with gr.Group():
|
273 |
-
|
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 |
-
|
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,
|