Update app.py
Browse files
app.py
CHANGED
@@ -91,10 +91,10 @@ with gr.Blocks(title="Remove background") as app:
|
|
91 |
# pkr_color = gr.ColorPicker(label="Pick a new color", visible=False)
|
92 |
#chk_dominant = gr.Checkbox(label="Use dominant color", value=False, visible=False)
|
93 |
run_btn = gr.Button(value="Remove background", variant="primary")
|
94 |
-
|
95 |
-
output_img = gr.Image(type="pil", label="Image Result")
|
96 |
-
|
97 |
-
|
98 |
|
99 |
chk_include_matting.change(change_include_matting, inputs=[chk_include_matting],
|
100 |
outputs=[slider_matting, matting_state,
|
|
|
91 |
# pkr_color = gr.ColorPicker(label="Pick a new color", visible=False)
|
92 |
#chk_dominant = gr.Checkbox(label="Use dominant color", value=False, visible=False)
|
93 |
run_btn = gr.Button(value="Remove background", variant="primary")
|
94 |
+
# with gr.Column():
|
95 |
+
#output_img = gr.Image(type="pil", label="Image Result")
|
96 |
+
# mask_img = gr.Image(type="pil", label="Image Mask", visible=False)
|
97 |
+
# gr.ClearButton(components=[input_img, output_img, mask_img])
|
98 |
|
99 |
chk_include_matting.change(change_include_matting, inputs=[chk_include_matting],
|
100 |
outputs=[slider_matting, matting_state,
|