Spaces:
Runtime error
Runtime error
v1
Browse files
app.py
CHANGED
|
@@ -38,5 +38,5 @@ def sod_inpaint(img):
|
|
| 38 |
|
| 39 |
examples = glob.glob('examples/*.*')
|
| 40 |
inputs = gr.inputs.Image(shape=None, image_mode="RGB", invert_colors=False, source="upload", tool="editor", type="numpy", label=None, optional=False)
|
| 41 |
-
iface = gr.Interface(fn=sod_inpaint, inputs=inputs, outputs="image", examples=examples, title='
|
| 42 |
iface.launch()
|
|
|
|
| 38 |
|
| 39 |
examples = glob.glob('examples/*.*')
|
| 40 |
inputs = gr.inputs.Image(shape=None, image_mode="RGB", invert_colors=False, source="upload", tool="editor", type="numpy", label=None, optional=False)
|
| 41 |
+
iface = gr.Interface(fn=sod_inpaint, inputs=inputs, outputs="image", examples=examples, title='Salient Object Detection + Inpaint', description='Upload a image and you will find something disappear', theme='huggingface')
|
| 42 |
iface.launch()
|