Skip to content

Commit

Permalink
default value is all falses
Browse files Browse the repository at this point in the history
  • Loading branch information
ljleb committed Aug 13, 2023
1 parent 566cad3 commit 40dd9f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib_comfyui/webui/accordion.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ def __init__(self, get_elem_id, tab):
)
self.enabled_workflow_type_ids = gradio_utils.ExtensionDynamicProperty(
key=f'enabled_workflow_type_ids_{self.tab}',
value={},
value={
workflow_type_id: False
for workflow_type_id in self.workflow_type_ids.values()
},
)
self.clear_enabled_workflow_types_button = gr.Button(
elem_id=get_elem_id('clear_enabled_workflow_types'),
Expand Down

0 comments on commit 40dd9f5

Please sign in to comment.