Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -160,13 +160,12 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
|
|
| 160 |
text_prompt = gr.Textbox(
|
| 161 |
label="Text Prompt",
|
| 162 |
placeholder="e.g., cat, ear, car wheel...",
|
| 163 |
-
info="What do you want to segment?"
|
| 164 |
)
|
| 165 |
|
| 166 |
run_button = gr.Button("Segment", variant="primary")
|
| 167 |
|
| 168 |
with gr.Column(scale=1.5):
|
| 169 |
-
output_image = gr.AnnotatedImage(label="Segmented Output", height=
|
| 170 |
|
| 171 |
with gr.Row():
|
| 172 |
threshold = gr.Slider(label="Confidence Threshold", minimum=0.0, maximum=1.0, value=0.4, step=0.05)
|
|
|
|
| 160 |
text_prompt = gr.Textbox(
|
| 161 |
label="Text Prompt",
|
| 162 |
placeholder="e.g., cat, ear, car wheel...",
|
|
|
|
| 163 |
)
|
| 164 |
|
| 165 |
run_button = gr.Button("Segment", variant="primary")
|
| 166 |
|
| 167 |
with gr.Column(scale=1.5):
|
| 168 |
+
output_image = gr.AnnotatedImage(label="Segmented Output", height=380)
|
| 169 |
|
| 170 |
with gr.Row():
|
| 171 |
threshold = gr.Slider(label="Confidence Threshold", minimum=0.0, maximum=1.0, value=0.4, step=0.05)
|