image annotate: the best way to showcase the segmentation

#1
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -114,10 +114,9 @@ with gr.Blocks(
114
  type="pil",
115
  height=400,
116
  )
117
- image_output = gr.Image(
118
  label="Output (Segmented Image)",
119
  height=400,
120
- interactive=False
121
  )
122
 
123
  with gr.Row():
 
114
  type="pil",
115
  height=400,
116
  )
117
+ image_output = gr.AnnotatedImage(
118
  label="Output (Segmented Image)",
119
  height=400,
 
120
  )
121
 
122
  with gr.Row():