3koozy commited on
Commit
db30d49
·
1 Parent(s): 81f58f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ def predict_segmentation(image: Image.Image):
35
 
36
  return output_image
37
 
38
- image_input = gr.inputs.Image(shape=(256, 256), source="upload")
39
- image_output = gr.outputs.Image(type="pil")
40
 
41
  iface = gr.Interface(fn=predict_segmentation, inputs=image_input, outputs=image_output)
42
  iface.launch()
 
35
 
36
  return output_image
37
 
38
+ image_input = gr.Image(shape=(256, 256), source="upload")
39
+ image_output = gr.Image(type="pil")
40
 
41
  iface = gr.Interface(fn=predict_segmentation, inputs=image_input, outputs=image_output)
42
  iface.launch()