sumit-ai-ml commited on
Commit
e919ebf
β€’
1 Parent(s): 4ac6b0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,8 +39,8 @@ def segment_image(input_image):
39
 
40
  iface = gr.Interface(
41
  fn=segment_image,
42
- inputs=gr.inputs.Image(type="pil", label="Upload an image"),
43
- outputs=gr.outputs.Image(type="numpy", label="Segmented Image"),
44
  title="Aorta segmentation and Detection using YOLOv8 πŸ˜ƒ",
45
  description= 'This software generates the segementation mask for Aorta for the Point of Care Ultrasound (POCUS) images')
46
 
 
39
 
40
  iface = gr.Interface(
41
  fn=segment_image,
42
+ inputs=gr.components.Image(type="pil", label="Upload an image"),
43
+ outputs=gr.components.Image(type="numpy", label="Segmented Image"),
44
  title="Aorta segmentation and Detection using YOLOv8 πŸ˜ƒ",
45
  description= 'This software generates the segementation mask for Aorta for the Point of Care Ultrasound (POCUS) images')
46