Spaces:
Sleeping
Sleeping
Commit ·
1dfb3ec
1
Parent(s): d8dc92a
Added pointing, it was forgotten
Browse files
app.py
CHANGED
|
@@ -35,7 +35,9 @@ with gr.Blocks() as demo:
|
|
| 35 |
with gr.Row():
|
| 36 |
with gr.Column():
|
| 37 |
img_in = gr.Image(type="pil")
|
| 38 |
-
mode_select = gr.Radio(["Automatic (Segment Everything)", "Text Prompt"
|
|
|
|
|
|
|
| 39 |
text_box = gr.Textbox(label="Enter Object Name", visible=False)
|
| 40 |
with gr.Column():
|
| 41 |
img_out = gr.Image(type="pil")
|
|
|
|
| 35 |
with gr.Row():
|
| 36 |
with gr.Column():
|
| 37 |
img_in = gr.Image(type="pil")
|
| 38 |
+
mode_select = gr.Radio(["Automatic (Segment Everything)", "Text Prompt", "Point Click"],
|
| 39 |
+
label="Select Mode",
|
| 40 |
+
value="Automatic (Segment Everything)")
|
| 41 |
text_box = gr.Textbox(label="Enter Object Name", visible=False)
|
| 42 |
with gr.Column():
|
| 43 |
img_out = gr.Image(type="pil")
|