mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
add styles to extra networks
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user