InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[enhancement]: automatically scan model .ckpt files and update models.yaml

Open ebr opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Contact Details

No response

What should this feature add?

As suggested by @lstein in https://github.com/invoke-ai/InvokeAI/issues/1559#issuecomment-1328189137 and https://github.com/invoke-ai/InvokeAI/pull/1578#issuecomment-1328453769:

Either as a command-line option or as an automatic feature during interactive processing, it would be great if the script could scan the existing models directory for SD models it knows about (from INITIAL_MODELS.yaml). If it finds SD models that aren't in the config file, it should offer to add them. This will let people rebuild their config.yaml without having to ask the script to download the models and answer 'y' to each prompt.

Alternatives

No response

Aditional Content

No response

ebr avatar Nov 28 '22 23:11 ebr