Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -155,4 +155,4 @@ def predict(img):
|
|
155 |
return Image.fromarray(mask.astype('uint8'))
|
156 |
|
157 |
# Creamos la interfaz y la lanzamos.
|
158 |
-
gr.Interface(fn=predict, inputs=gr.Image(
|
|
|
155 |
return Image.fromarray(mask.astype('uint8'))
|
156 |
|
157 |
# Creamos la interfaz y la lanzamos.
|
158 |
+
gr.Interface(fn=predict, inputs=gr.Image(), outputs=gr.Image(),examples=['color_154.jpg','color_155.jpg']).launch(share=False) #shape=(128, 128) shape=(480,640)
|