stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Feature Request]: auto categorization of LoRA file
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What would your feature do ?
Files in "models" directory is moved to each type directory (e.g. Stable-diffusion , LDSR). this is where the feature was written it looks LoRA file is not supported.
It is unable to categorize by file name but categorization by file size is able. https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/b08500cec8a791ef20082628b49b17df833f5dda/modules/modelloader.py#L71-L94
Proposed workflow
- Put LoRA file to under models directory
- start program
- LoRA file is automatically located in "models/Lora/" directory
Additional information
To do this , filter of file size must be added in move_files
function.
I don't think it is good idea to add it just for this feature.
What can I do ?
Lora is supported. They literally go inside the models/Lora folder.
I tried to put this LoRA file into "models" directory and run.
this message was printed in console.
Moving yuzuki_yukari_f02_AC_-000003.safetensors from F:\Desktop\stable-diffusion-webui\models to F:\Desktop\stable-diffusion-webui\models\Stable-diffusion.
The file must be moved to "models/Lora" but it wasn't. Is this only in my environment?