accordions everywhere

This commit is contained in:
Vladimir Mandic
2023-09-22 20:34:25 -04:00
parent 4e7ad0e15a
commit 9b4c4e5b49
13 changed files with 260 additions and 191 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ class ScriptPostprocessingRunner:
def setup_ui(self):
inputs = []
for script in self.scripts_in_preferred_order():
with gr.Row() as group:
with gr.Accordion(label=script.name) as group:
self.create_script_ui(script, inputs)
script.group = group
self.ui_created = True