Spaces:
Runtime error
Runtime error
Commit
·
0a30016
1
Parent(s):
1891af3
Update app.py
Browse files
app.py
CHANGED
@@ -36,6 +36,7 @@ def predict(img):
|
|
36 |
return Image.fromarray(mask.astype('uint8'))
|
37 |
|
38 |
# Creamos la interfaz y la lanzamos.
|
39 |
-
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(400, 400)), outputs=gr.outputs.Image(type="pil"),
|
|
|
40 |
|
41 |
|
|
|
36 |
return Image.fromarray(mask.astype('uint8'))
|
37 |
|
38 |
# Creamos la interfaz y la lanzamos.
|
39 |
+
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(400, 400)), outputs=gr.outputs.Image(type="pil"),
|
40 |
+
examples=['examplesB/color_180.png', 'examplesB/color_179.png', 'examplesB/color_156.png', 'examplesB/color_155.png', 'examplesB/color_154.png']).launch(share=False)
|
41 |
|
42 |
|