yuragoithf commited on
Commit
c48b854
·
verified ·
1 Parent(s): 964137a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ title = "<h1 style='text-align: center;'>Semantic Segmentation (Airbus Ship Dete
82
  description = "Upload an image and get prediction mask"
83
 
84
  gr.Interface(fn=gen_pred,
85
- inputs=[gr.Image(type='pil')],
86
  outputs=["plot"],
87
  title=title,
88
  examples=[["00c3db267.jpg"], ["00dc34840.jpg"], ["00371aa92.jpg"]],
 
82
  description = "Upload an image and get prediction mask"
83
 
84
  gr.Interface(fn=gen_pred,
85
+ inputs=[gr.components.Image(type='pil')],
86
  outputs=["plot"],
87
  title=title,
88
  examples=[["00c3db267.jpg"], ["00dc34840.jpg"], ["00371aa92.jpg"]],