-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
[ Request ] Possibility to save custom styles #58
Comments
@Jisevind I don't plan adding saving custom styles, cause I want to keep UI as simple as possible, and add only absolutely necessary buttons. But I added support for loading custom styles from JSON files in v1.0.45.1 - you can look at original styles in sdxl_styles folder, and make your own styles in in similar fashion (JSON files from this folder will be loaded on start). |
Just want to get clear: In "sdxl_styles" folder there are 4 included styles.json. You can edit but NOT add new styles.json file Is this correct? |
@barepixels It seems to load all json files in the styles folder, I was able to create a new json file and add new styles and it shows up in the list. |
@barepixels You CAN add more files there. Those 4 listed in sdxl_styles.py are just to have those default styles loaded and listed as first. |
OK very cool. Happy dance |
But what if I don't want them to be first. I think I want my custom one first. |
@barepixels You can rename those files (including default styles) to something like styles_1.json styles_2.json etc. - they will be loaded in alphabetical order of file names, then. |
... |
Answer to my own questions: I made my own style.json "sdxl_styles_1.json" It has just one custom entry Relaunch Fooocus, it did it's update and did not download the missing default 4 json files YAY Happy Dance |
Actually the current menu gives me 3 choice
Where did #2 "cinematic-default" come from? |
@barepixels cinematic-default is the default built-in style of Fooocus - I wanted to keep this one in the code. All the other that came from external sources (sai / twri / diva and mre) are in JSON files. |
OK thanks. BTW am loving generate forever |
It would be great if we could save our own custom styles, the positive and negative prompts.
Maybe have it in its own dropdown.
The text was updated successfully, but these errors were encountered: