Update app.py
Browse files
app.py
CHANGED
@@ -398,7 +398,7 @@ with block:
|
|
398 |
with gr.Row():
|
399 |
with gr.Column():
|
400 |
# input_image = gr.Image(source='upload', type="numpy", tool="sketch", height=512)
|
401 |
-
|
402 |
invert = gr.Checkbox(label='Invert Mask', value=False)
|
403 |
run_button = gr.Button(label="Run")
|
404 |
with gr.Column():
|
|
|
398 |
with gr.Row():
|
399 |
with gr.Column():
|
400 |
# input_image = gr.Image(source='upload', type="numpy", tool="sketch", height=512)
|
401 |
+
input_image = gr.ImageMask(sources="upload", type="numpy", height="auto")
|
402 |
invert = gr.Checkbox(label='Invert Mask', value=False)
|
403 |
run_button = gr.Button(label="Run")
|
404 |
with gr.Column():
|