Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -189,7 +189,7 @@ with gr.Blocks() as demo:
|
|
189 |
with gr.Tab(label="D-edit"):
|
190 |
with gr.Row():
|
191 |
with gr.Column():
|
192 |
-
canvas = gr.Image(value =
|
193 |
example_inps = [['./img.png'],['./img2.png'],['./img3.png'],['./img4.png']]
|
194 |
gr.Examples(examples=example_inps, inputs=[canvas],
|
195 |
label='examples', cache_examples='lazy', outputs=[],
|
|
|
189 |
with gr.Tab(label="D-edit"):
|
190 |
with gr.Row():
|
191 |
with gr.Column():
|
192 |
+
canvas = gr.Image(value = None, type="numpy", label="Show Mask", show_label=True, height=LENGTH, width=LENGTH, interactive=True)
|
193 |
example_inps = [['./img.png'],['./img2.png'],['./img3.png'],['./img4.png']]
|
194 |
gr.Examples(examples=example_inps, inputs=[canvas],
|
195 |
label='examples', cache_examples='lazy', outputs=[],
|