Skip to content

Commit

Permalink
refactor: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mashb1t committed Jun 25, 2024
1 parent 46b0c57 commit 6f4d73b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion modules/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ def get_dir_or_set_default(key, default_value, as_array=False, make_directory=Fa
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/')
Expand Down
1 change: 0 additions & 1 deletion webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ def trigger_metadata_preview(filepath):
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)
Expand Down

0 comments on commit 6f4d73b

Please sign in to comment.