Spaces:
Sleeping
Sleeping
sumit-ai-ml
commited on
Commit
β’
e919ebf
1
Parent(s):
4ac6b0b
Update app.py
Browse files
app.py
CHANGED
@@ -39,8 +39,8 @@ def segment_image(input_image):
|
|
39 |
|
40 |
iface = gr.Interface(
|
41 |
fn=segment_image,
|
42 |
-
inputs=gr.
|
43 |
-
outputs=gr.
|
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 |
|