refactor: rename segmentation prompt to detection prompt
improved wording: prompt is only applied for GroundingDINO, not actually for segmentation
This commit is contained in:
parent
8b21303542
commit
71f5e70085
|
|
@ -46,7 +46,7 @@
|
|||
"* \"Inpaint or Outpaint\" is powered by the sampler \"DPMPP Fooocus Seamless 2M SDE Karras Inpaint Sampler\" (beta)": "* \"Inpaint or Outpaint\" is powered by the sampler \"DPMPP Fooocus Seamless 2M SDE Karras Inpaint Sampler\" (beta)",
|
||||
"Mask generation model": "Mask generation model",
|
||||
"Cloth category": "Cloth category",
|
||||
"Segmentation prompt": "Segmentation prompt",
|
||||
"Detection prompt": "Detection prompt",
|
||||
"Use singular whenever possible": "Use singular whenever possible",
|
||||
"Advanced options": "Advanced options",
|
||||
"SAM model": "SAM model",
|
||||
|
|
|
|||
2
webui.py
2
webui.py
|
|
@ -253,7 +253,7 @@ with shared.gradio_root:
|
|||
choices=flags.inpaint_mask_cloth_category,
|
||||
value=modules.config.default_inpaint_mask_cloth_category,
|
||||
visible=False)
|
||||
inpaint_mask_dino_prompt_text = gr.Textbox(label='Segmentation prompt', value='', visible=False, info='Use singular whenever possible')
|
||||
inpaint_mask_dino_prompt_text = gr.Textbox(label='Detection prompt', value='', visible=False, info='Use singular whenever possible')
|
||||
with gr.Accordion("Advanced options", visible=False, open=False) as inpaint_mask_advanced_options:
|
||||
inpaint_mask_sam_model = gr.Dropdown(label='SAM model', choices=flags.inpaint_mask_sam_model, value=modules.config.default_inpaint_mask_sam_model)
|
||||
inpaint_mask_box_threshold = gr.Slider(label="Box Threshold", minimum=0.0, maximum=1.0, value=0.3, step=0.05)
|
||||
|
|
|
|||
Loading…
Reference in New Issue