fix: close accordions

This commit is contained in:
Bingsu
2023-05-18 22:47:52 +09:00
parent 4e8ed8a757
commit 0c8049eb5f

View File

@@ -119,11 +119,11 @@ def one_ui_group(
)
with gr.Group():
with gr.Accordion("Detection"):
with gr.Accordion("Detection", open=False):
detection(w, n)
with gr.Accordion("Mask Preprocessing"):
with gr.Accordion("Mask Preprocessing", open=False):
mask_preprocessing(w, n)
with gr.Accordion("Inpainting"):
with gr.Accordion("Inpainting", open=False):
inpainting(w, n)
with gr.Group(), gr.Row(variant="panel"):