Spaces:
Running
Running
Commit
·
156bb47
1
Parent(s):
b8712f0
Add additional description for detection prompt
Browse files
app.py
CHANGED
@@ -220,7 +220,10 @@ with gr.Blocks(css="style.css", title=title) as demo:
|
|
220 |
task = gr.Dropdown(
|
221 |
["detect", "segment", "auto"], value="auto", label="task_type"
|
222 |
)
|
223 |
-
text_prompt = gr.Textbox(
|
|
|
|
|
|
|
224 |
with gr.Accordion("Advanced parameters", open=False):
|
225 |
box_threshold = gr.Slider(
|
226 |
minimum=0,
|
|
|
220 |
task = gr.Dropdown(
|
221 |
["detect", "segment", "auto"], value="auto", label="task_type"
|
222 |
)
|
223 |
+
text_prompt = gr.Textbox(
|
224 |
+
label="Detection Prompt",
|
225 |
+
info="To detect multiple objects, seperating each name with '.', like this: cat . dog . chair ",
|
226 |
+
)
|
227 |
with gr.Accordion("Advanced parameters", open=False):
|
228 |
box_threshold = gr.Slider(
|
229 |
minimum=0,
|