Update app.py
Browse files
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"]],
|