Skip to content

Commit

Permalink
add all legacy model .yaml files to configs directory unconditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
Lincoln Stein committed Jul 26, 2023
1 parent bf1f661 commit 020031f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions invokeai/backend/install/invokeai_configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,8 +767,8 @@ def main():
if migrate_if_needed(opt, config.root_path):
sys.exit(0)

if not config.model_conf_path.exists():
initialize_rootdir(config.root_path, opt.yes_to_all)
# run this unconditionally in case new directories need to be added
initialize_rootdir(config.root_path, opt.yes_to_all)

models_to_download = default_user_selections(opt)
new_init_file = config.root_path / 'invokeai.yaml'
Expand Down

0 comments on commit 020031f

Please sign in to comment.