sunnyark / civitai-shortcut

140 stars 13 forks source link

Bug/Feature request? VAE files downloaded but not organized #76

Open Trahloc opened 1 year ago

Trahloc commented 1 year ago

It will download the model and a vae file but put them in the same directory instead of saving the vae to it's proper directory.

Here's an example link: https://civitai.com/models/118009?modelVersionId=130720

It downloads the ~7gb model and a smaller VAE file as well. It saves both to: stable-diffusion-webui/models/Stable-diffusion/国风4 GuoFeng4 XL/

Instead of saving sdxl_vae.safetensors to: stable-diffusion-webui/models/VAE

Ideally it would only save that file if the hash for the file is different from another vae that's already downloaded but that doesn't seem essential.

sunnyark commented 1 year ago

I appreciate your feedback. The program categorizes and stores models based on the information provided by Civitai. The issue arises because this information is not defined on a file-by-file basis. I was aware of this limitation, and currently, I can only classify models based on the roles provided by Civitai, even if a single model serves multiple roles like in the case you mentioned. In such cases, it might be necessary to manually move the files to the appropriate directories. I will explore reasonable solutions for this issue. Thank you for bringing it to our attention.

Trahloc commented 1 year ago

While not an ideal solution would it be possible to add an option where the Download tab doesn't automatically check the download box for any filename with "VAE" in its name while still checking those that have 'BakedVAE"? (Capitalization purely for easy readability here)

Example of a BakedVAE model: https://civitai.com/models/128607/nightvision-xl-photorealistic-or-portrait-or-photography-or-hyperreal-or-architecture-or-interior-design-no-refiner-needed

sunnyark commented 1 year ago

It seems like it would be better to allow users to set the download folder to either automatic classification or manual selection. I'll consider that. For now, using the download link in the model's description tab should also work fine.