Kaushik Mellacheruvu
commited on
Commit
•
28e5dbf
1
Parent(s):
7a538ce
Update app.py
Browse files
app.py
CHANGED
@@ -96,8 +96,9 @@ def main():
|
|
96 |
segmentation_mask_no_prompt = segment_with_medsam(tiff_image, mask_np, False)
|
97 |
segmentation_mask_with_prompt = segment_with_medsam(tiff_image, mask_np, True)
|
98 |
st.subheader("Segmentation Results")
|
99 |
-
st.image(
|
100 |
-
st.image(
|
|
|
101 |
|
102 |
if __name__ == "__main__":
|
103 |
main()
|
|
|
96 |
segmentation_mask_no_prompt = segment_with_medsam(tiff_image, mask_np, False)
|
97 |
segmentation_mask_with_prompt = segment_with_medsam(tiff_image, mask_np, True)
|
98 |
st.subheader("Segmentation Results")
|
99 |
+
st.image(tiff_image, caption="Uploaded Image")
|
100 |
+
st.image(segmentation_mask_no_prompt, caption="Segmented Image")
|
101 |
+
st.image(segmentation_mask_with_prompt, caption="Segmented Image with occlusion fixed")
|
102 |
|
103 |
if __name__ == "__main__":
|
104 |
main()
|