mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-21 07:13:56 +00:00
try open first unit
This commit is contained in:
@@ -78,7 +78,7 @@ class ControlNetForForgeOfficial(scripts.Script):
|
||||
with gr.Row(elem_id=elem_id_tabname + "_accordions", elem_classes="accordions"):
|
||||
for i in range(max_models):
|
||||
with InputAccordion(
|
||||
value=False,
|
||||
value=i == 0,
|
||||
label=f"ControlNet Unit {i}",
|
||||
elem_classes=["cnet-unit-enabled-accordion"], # Class on accordion
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user