niulx commited on
Commit
14b8741
1 Parent(s): d576637

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "./img.png", type="numpy", label="Draw 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=[],
 
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=[],