Kaushik Mellacheruvu commited on
Commit
28e5dbf
1 Parent(s): 7a538ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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(segmentation_mask_no_prompt, caption="Segmented Image without prompt")
100
- st.image(segmentation_mask_with_prompt, caption="Segmented Image with prompt")
 
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()