Update controlnet_ui_group.py

This commit is contained in:
lllyasviel
2024-02-01 16:47:40 -08:00
parent eefa8a701d
commit 421070b44e

View File

@@ -993,7 +993,7 @@ class ControlNetUiGroup(object):
)
def fn_canvas(h, w):
return np.zeros(shape=(h, w, 3), dtype=np.uint8) + 255, gr.Accordion.update(
return np.zeros(shape=(h, w, 3), dtype=np.uint8), gr.Accordion.update(
visible=False
)