Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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")
|