vladmandic / automatic

SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
https://github.com/vladmandic/automatic
GNU Affero General Public License v3.0
5.56k stars 409 forks source link

[Feature]: Handle inpainting checkpoints more gracefully #1598

Open slimeqslimedog opened 1 year ago

slimeqslimedog commented 1 year ago

Feature description

Provide an option to enable the following behavior:

When viewing checkpoints in either the dropdown or "extra networks", hide models that end with -inpainting. Then, when in Inpaint mode, if a model has a corresponding -inpainting variant, use that instead of the selected model. This streamlines the UX so the appropriate model only shows up in the proper context, since it is likely that a user only wants to select an -inpainting model when actually, you know, inpainting.

Version Platform Description

Win11, Chrome 114.0.5735.199, commit 3bcca6f92b4d457eff8616e157ba13421f59527f

vladmandic commented 1 year ago

yup, i totally agree. some work is actually in-progress to allow for 2 models to be loaded so one can be used for txt2img and second for img2img tasks (for example). i'll update here when i have more.