wenpeng commited on
Commit
a579154
·
1 Parent(s): 5eccf4e

add sod output

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,6 +41,6 @@ def sod_inpaint(img):
41
 
42
 
43
  examples = glob.glob('examples/*.*')
44
- inputs = gr.inputs.Image(shape=(512,512,3), image_mode="RGB", invert_colors=False, source="upload", tool="editor", type="numpy", label=None, optional=False)
45
  iface = gr.Interface(fn=sod_inpaint, inputs=inputs, outputs=["image", "image"], examples=examples, title='Salient Object Detection + Inpaint', description='Upload an image and you will see the fg and inpainted bg', theme='huggingface')
46
  iface.launch()
 
41
 
42
 
43
  examples = glob.glob('examples/*.*')
44
+ inputs = gr.inputs.Image(shape=(512,512), image_mode="RGB", invert_colors=False, source="upload", tool="editor", type="numpy", label=None, optional=False)
45
  iface = gr.Interface(fn=sod_inpaint, inputs=inputs, outputs=["image", "image"], examples=examples, title='Salient Object Detection + Inpaint', description='Upload an image and you will see the fg and inpainted bg', theme='huggingface')
46
  iface.launch()