mirror of
https://github.com/ahgsql/StyleSelectorXL.git
synced 2026-11-05 00:37:24 +00:00
[GH-ISSUE #37] Default setting doesn't work #26
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ahgsql/StyleSelectorXL#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ihmily on GitHub (Jun 25, 2024).
Original GitHub issue: https://github.com/ahgsql/StyleSelectorXL/issues/37
Can not enable Style Selector by default, It is not effective
When I turn off the default open option, the open page will still automatically check the enable option


When I modify the code https://github.com/ahgsql/StyleSelectorXL/blob/main/scripts/StyleSelectorXL.py#L126C21-L128C116
to
It will still default to enable the style selector
Related issues:https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/11210
@Dmorok commented on GitHub (Feb 1, 2025):
is_enabled = gr.Checkbox(value=Disabled,
shared.opts.add_option(
"enable_styleselector_by_default",
shared.OptionInfo(
False,
"enable Style Selector by default",
gr.Checkbox,
section=section
)
)