fix [Bug]: LoRA don't apply on dropdown list sd_lora #10880
This commit is contained in:
parent
6427ffde4d
commit
3690e4e82c
|
@ -26,7 +26,7 @@ class ExtraNetworkParams:
|
||||||
self.named = {}
|
self.named = {}
|
||||||
|
|
||||||
for item in self.items:
|
for item in self.items:
|
||||||
parts = item.split('=', 2)
|
parts = item.split('=', 2) if isinstance(item, str) else [item]
|
||||||
if len(parts) == 2:
|
if len(parts) == 2:
|
||||||
self.named[parts[0]] = parts[1]
|
self.named[parts[0]] = parts[1]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue