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

Feature request: add a dropdown to select the json file to use #18

Open
RudyB24 opened this issue Jan 3, 2024 · 3 comments
Open

Feature request: add a dropdown to select the json file to use #18

RudyB24 opened this issue Jan 3, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@RudyB24
Copy link

RudyB24 commented Jan 3, 2024

Thanks for your very nice Styles custom node, I have it in use with all my workflows.

Since the update, all json files load. This can be convenient, but it also can lead to a very long dropdown to select a style ... too long atually to have good oversight

I know I can change and shuffle the json files, and there also is the search field, but I had this idea if maybe it would be possible to add a dropdown selector, where one can choose which styles show up (which json file will be used) in the second selector? And there can also be an entry that says 'all'. It would be a bit more convenient than the search field.

Greetings, Rudy.

@twri
Copy link
Owner

twri commented Jan 3, 2024

This has been requested before but there are no built in mechanism in ComfyUI to handle this. If you have found a workaround for this in another node I might have a look and see if it's worth including.

@RudyB24
Copy link
Author

RudyB24 commented Jan 3, 2024

Thanks for your reply. I was afraid of that, I bet the json files load at startup and there's no mechanism to make this dynamic. Well ... I think I'll create a json file with my personal favorite styles as a workaround and swap files if I need more styles.

@twri twri added the enhancement New feature or request label Jan 19, 2024
@fs920105
Copy link

Is that what you want? The author ported fooocus's style selection list and preview feature, which is still being further optimized by the author. It does not affect the current use.
https://github.com/yolain/ComfyUI-Easy-Use.git

0120211225

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants