Fooocus
Fooocus copied to clipboard
Multiple LoRA Models (5: / 5+)
I have tried to add more than 5 LoRAmodels but I can't seem to debug what is going wrong.
I have added a 6th LoRA to the default_loras
and update config_dict["default_loras"]
to contain 6 LoRAs in in the config.py.
The changes are reflected in the UI but when I generate an image it throws an error.
Has anyone tried to do this yet?
The 6th LoRA is reserved for the LCM LoRA, so you have to shift all occurences of the LCM LoRA to 7th place and insert your 6th LoRA. Please let me know if you need further assistance, if not this issue may be closed soon.
Closing as stale, feel free to reopen when providing new information and let the community know your findings/learnings!
Hi
I just created a fork fooocus project version just synced with the original project in main branch https://github.com/MindOfMatter/Fooocus-MindOfMatter-Edition
I created a pr in my fork project to show what we need to change to enable the feature
https://github.com/MindOfMatter/Fooocus-MindOfMatter-Edition/pull/2
If you want to test it, you need to replace your fooocus local folder with mine (according to selected feature branch)
Also my dev branch contains all merged tested pr features in my fork project https://github.com/MindOfMatter/Fooocus-MindOfMatter-Edition/tree/dev
I hope that it could help you :)
Have a nice day