diff --git a/language/en.json b/language/en.json index dc208f3e..f80ee4b2 100644 --- a/language/en.json +++ b/language/en.json @@ -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", diff --git a/webui.py b/webui.py index c9b703d2..877d7939 100644 --- a/webui.py +++ b/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)