mirror of
https://github.com/vladmandic/automatic
synced 2026-08-26 15:16:01 +02:00
update ui labels
This commit is contained in:
@@ -125,6 +125,8 @@ class UiLoadsave:
|
||||
|
||||
def iter_changes(self, values):
|
||||
for i, name in enumerate(self.component_mapping):
|
||||
# if '__init__' in name:
|
||||
# continue
|
||||
component = self.component_mapping[name]
|
||||
choices = getattr(component, 'choices', None)
|
||||
if type(choices) is list and len(choices) > 0: # fix gradio radio button choices being tuples
|
||||
|
||||
Reference in New Issue
Block a user