yuragoithf commited on
Commit
e54b3e5
·
1 Parent(s): 5f088d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ description = "Upload an image and get prediction mask"
80
 
81
  gr.Interface(fn=gen_pred,
82
  inputs=[gr.Image(type='numpy')],
83
- outputs=gr.Image(type='numpy'),
84
  title=title,
85
  examples=[["003e2c95d.jpg"], ["003b50a15.jpg"], ["003b48a9e.jpg"], ["0038cbe45.jpg"], ["00371aa92.jpg"]],
86
  description=description,
 
80
 
81
  gr.Interface(fn=gen_pred,
82
  inputs=[gr.Image(type='numpy')],
83
+ outputs=gr.Image(type='pil'),
84
  title=title,
85
  examples=[["003e2c95d.jpg"], ["003b50a15.jpg"], ["003b48a9e.jpg"], ["0038cbe45.jpg"], ["00371aa92.jpg"]],
86
  description=description,