-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
New run script: selectable preset at launch #1484
Conversation
Added a new run script that lists all available presets and allows users to select a preset at launch. Eliminating the need to make a new batch file for every new preset
Unfortunately this was an already rejected proposal since two months ago or so |
In fact, what we really need is to switch presets within the webui. |
the config dict can easily be updated after startup by using Lines 84 to 95 in 7b5bced
=> IMHO it's currently easier to just restart the whole application, but the request is understandable. How do you envision a potential preset change function in the UI to work? |
I've implemented a UI-based solution, which still keeps the preset set in args as default. It would be great if you could provide feedback so we can achieve a common goal :) |
nice!!! |
Hi I just created a fork fooocus project version just synced with the original project in main branch I created a pr in my fork project to show what we need to change to enable the feature MindOfMatter/Fooocus-MindOfMatter-Edition#6 If you want to test it, you need to replace your fooocus local folder with mine Also my dev branch contains all merged tested pr features in my fork project I hope that it could help you :) Have a nice day |
Added a new run script + batch file:
presets
folder/files are found: launch without preset.I recognize there are probably more elegant implementations to achieve this goal. This implementation is intended to be non-disruptive to the users who prefer the existing run files. Feel free to refactor as you see fit.