msaid1976 commited on
Commit
932449b
·
verified ·
1 Parent(s): 48f8d21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -24,12 +24,8 @@ def get_pipeline_prediction(pil_image):
24
  return processed_image
25
 
26
 
27
- demo = gr.Interface(
28
- fn=get_pipeline_prediction,
29
- inputs=gr.Image(label="Input image",
30
- type="pil"),
31
- outputs=gr.Image(label="Output image with predicted instances",
32
- type="pil")
33
  )
34
 
35
 
 
24
  return processed_image
25
 
26
 
27
+ demo = gr.Interface(fn=get_pipeline_prediction,inputs=gr.Image(label="Input image", type="pil"),
28
+ outputs=gr.Image(label="Output image with predicted instances", type="pil")
 
 
 
 
29
  )
30
 
31