refactor: code cleanup

This commit is contained in:
Manuel Schmid 2024-06-25 22:06:07 +02:00
parent 46b0c57670
commit 6f4d73b349
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
2 changed files with 0 additions and 2 deletions

View File

@ -198,7 +198,6 @@ path_inpaint = get_dir_or_set_default('path_inpaint', '../models/inpaint/')
path_controlnet = get_dir_or_set_default('path_controlnet', '../models/controlnet/')
path_clip_vision = get_dir_or_set_default('path_clip_vision', '../models/clip_vision/')
path_fooocus_expansion = get_dir_or_set_default('path_fooocus_expansion', '../models/prompt_expansion/fooocus_expansion')
path_safety_checker_models = get_dir_or_set_default('path_safety_checker_models', '../models/safety_checker_models/')
path_wildcards = get_dir_or_set_default('path_wildcards', '../wildcards/')
path_safety_checker = get_dir_or_set_default('path_safety_checker', '../models/safety_checker/')
path_sam = get_dir_or_set_default('path_sam', '../models/sam/')

View File

@ -405,7 +405,6 @@ with shared.gradio_root:
elem_id='enhance_negative_prompt')
with gr.Accordion("Detection", open=False):
# TODO check if limiting to SAM is better
enhance_mask_model = gr.Dropdown(label='Mask generation model',
choices=flags.inpaint_mask_models,
value=modules.config.default_enhance_inpaint_mask_model)