Open DavidDragonsage opened 2 months ago
The role and status of Presets in SimpleSDXL and Fooocus are not exactly the same, and the Chinese name is usually shorter, while the English name is usually longer, so the processing methods may be different. I may need some time to think about a solution
Thank you, I understand. I was wondering how folks were using this preset interface because it seemed so small. Fooocus 2.55 does have a workable preset interface that theoretically has no limit to the number of presets.
The preset selector is currently very difficult to use for Western language users. But I have been thinking of a way to automatically preserve the current interface but switch to the Fooocus style selector when necessary.
The first attachment shows the current Fooocus preset selector. If this interface were invoked automatically only when the user has the "En" language selector in use (shown in the second attachment), this could be a way to maintain convenience for Chinese users and promote usability for Western language users.
Actually, there is no reason to switch out the preset topbar to the Fooocus mainline standard. The preset topbar will simply wrap the entries to the next line as required, as shown in the attachment.
There is really no problem for English users with displaying the preset names. The preset filenames simply need to be shortened by the user, as shown in the attachment.
The only limitation is that the topbar is currently limited to displaying only 14 entries (15 if you count the word "Presets"). If that parameter could be expanded to at least 30 entries I believe the preset selection problem would be solved for the majority of users - in both languages.
From a preliminary inspection I see that this parameter is "shared.BUTTON_NUM".
The next version will release this and set the quantity based on the number of JSON files.
By the way, there is a difference between SimpleSDXL's preset and Fooocus' in that it not only adjusts the parameters, but also adjusts the interface layout.
Wonderful! Thank you very much! 👍
That is intriguing about how the interface layout changes, I did not know that. I will have to have a look at how that works in the JSON files.
No change in today's v20240916.2952150 version, the presets are still limited to a maximum of 14.
This method has distorted and deformed pages, which is not encouraged. We will change other solutions in the future.
I'm just curious, which options are you looking at, the topbar that is in SimpleSDXL or the dropdown menu from Fooocus?
Is there an existing issue for this?
What would your feature do?
REVISED REQUEST:
Allow the preset topbar to be limited to a higher number of presets. Instead of 14, allow the count to go to at least 30 presets. There is no need to switch to the mainline Fooocus preset selector.
OBSOLETE REQUEST: As shown in the screen shot, only about 12 presets are displayed so that they can be selected - and those are overlapped. But I actually have 21 presets in the folder, so many of them cannot be selected.
I hope that the preset selector from Fooocus 2.55 can be implemented so that all presets can be selected.
NEW Proposed workflow
Please refer to the last post in this thread - adjust the BUTTON_NUM shared parameter to a higher value.
OBSOLETE:
Additional information
No response