Rubén Escobedo
commited on
Commit
·
392b092
1
Parent(s):
e5a78d7
Update app.py
Browse files
app.py
CHANGED
@@ -63,4 +63,4 @@ def predict(img):
|
|
63 |
return Image.fromarray(mask.astype('uint8'))
|
64 |
|
65 |
# Creamos la interfaz y la lanzamos.
|
66 |
-
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(128, 128)), outputs=gr.outputs.Image(
|
|
|
63 |
return Image.fromarray(mask.astype('uint8'))
|
64 |
|
65 |
# Creamos la interfaz y la lanzamos.
|
66 |
+
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(128, 128)), outputs=gr.outputs.Image(),examples=['color_154.jpg','color_155.jpg']).launch(share=False)
|