Skip to content

Setting control_net_unit_count via sdapi/v1/options to 4 changes the the value in the remote UI but only enables 3 when running a prompt #16742

Answered by w-e-w
fawnha asked this question in Q&A
Discussion options

You must be logged in to vote

you need to restart or reload the server

while not exactly the case. it's easier to think that the API is basically a hidden UI

some setting requires reloading of the UI to apply because otherwise it isn't updated (so it is just visual)
other settings like control_net_unit_count goes even deeper as it creates the number of corresponding UI inputs
and this only happens during load / reload
which means you can't change control_net_unit_count on the fly, you have to reload in order for create the corresponding inputs to be created

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@w-e-w
Comment options

w-e-w Dec 23, 2024
Collaborator

Answer selected by fawnha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants