ancebuc commited on
Commit
13983fb
1 Parent(s): a4e4274

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -134,4 +134,4 @@ def predict(img):
134
  return Image.fromarray(mask.astype('uint8'))
135
 
136
  # Creamos la interfaz y la lanzamos.
137
- gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(128, 128)), outputs=gr.outputs.Image(shape=(128, 128)),examples=['color_158.jpg','color_157.jpg']).launch(share=False)
 
134
  return Image.fromarray(mask.astype('uint8'))
135
 
136
  # Creamos la interfaz y la lanzamos.
137
+ gr.Interface(fn=predict, inputs="image"), outputs="image",examples=['color_158.jpg','color_157.jpg']).launch(share=False)