Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add button to enable LoRAs #2210

Merged

Conversation

MindOfMatter
Copy link
Contributor

@MindOfMatter MindOfMatter commented Feb 8, 2024

Add enable button for lora (by default true / not affect json load / if False equivalent to None) to allows to disable temporary the lora without searching again

image

My changes :

add enabler checkbox for each lora
fix the css UI of the checkbox
add logic to parse the enabler feature to previous way (aoid any conflict when import preset)
if imported all others not existing lora will be init with default value (useful if you have different lora max value)

Tested until 2 week ago from my dev branch of fork project :
MindOfMatter/Fooocus-MindOfMatter-Edition#7

@MindOfMatter MindOfMatter changed the title Features/add loras enable buton Add loras enable buton Feb 8, 2024
@mashb1t mashb1t added the Size M medium change, isolated, testing with care label Feb 9, 2024
@mashb1t mashb1t added this to the 2.2.0 milestone Feb 24, 2024
@mashb1t mashb1t changed the base branch from main to develop February 25, 2024 18:37
@mashb1t mashb1t changed the title Add loras enable buton feat: add button to enable LoRAs Feb 25, 2024
@mashb1t mashb1t merged commit 468d704 into lllyasviel:develop Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size M medium change, isolated, testing with care
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants