From 6f4d73b349381b03df240efb1a070acecd49f464 Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Tue, 25 Jun 2024 22:06:07 +0200 Subject: [PATCH] refactor: code cleanup --- modules/config.py | 1 - webui.py | 1 - 2 files changed, 2 deletions(-) diff --git a/modules/config.py b/modules/config.py index f8af6599..da061aef 100644 --- a/modules/config.py +++ b/modules/config.py @@ -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/') diff --git a/webui.py b/webui.py index 288b6bda..f9cb41ec 100644 --- a/webui.py +++ b/webui.py @@ -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)