add styles to extra networks

This commit is contained in:
Vladimir Mandic
2023-09-03 15:00:48 -04:00
parent cbe779b541
commit d41baddf50
21 changed files with 225 additions and 95 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ class PreprocessResponse(BaseModel):
fields = {}
for key, metadata in shared.opts.data_labels.items():
value = shared.opts.data.get(key)
value = shared.opts.data.get(key) or shared.opts.data_labels[key].default
optType = shared.opts.typemap.get(type(metadata.default), type(value))
if metadata is not None: