AItool commited on
Commit
776dc39
·
verified ·
1 Parent(s): ebc73a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ def isolate_with_click(image: Image.Image, evt: gr.SelectData):
113
 
114
  # --- Gradio UI ---
115
  with gr.Blocks() as demo:
116
- gr.Markdown("### SAM Object Isolation\nUpload an image (or pick the demo), then click on the object to isolate it. The right panel shows a purple overlay of the mask.")
117
  inp = gr.Image(type="pil", label="Upload image", interactive=True)
118
  out_cutout = gr.Image(type="pil", label="Isolated cutout (RGBA)")
119
  out_overlay = gr.Image(type="pil", label="Segmentation overlay preview")
 
113
 
114
  # --- Gradio UI ---
115
  with gr.Blocks() as demo:
116
+ gr.Markdown("### SAM Object Isolation\nUpload an image (or pick the demo), then click on the object to isolate it. The last panel shows a purple overlay of the mask.")
117
  inp = gr.Image(type="pil", label="Upload image", interactive=True)
118
  out_cutout = gr.Image(type="pil", label="Isolated cutout (RGBA)")
119
  out_overlay = gr.Image(type="pil", label="Segmentation overlay preview")