update ui labels

This commit is contained in:
Vladimir Mandic
2024-09-09 09:22:34 -04:00
parent a3db0deffa
commit cfa364d792
7 changed files with 37 additions and 19 deletions
+2
View File
@@ -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