fix [Bug]: LoRA don't apply on dropdown list sd_lora #10880

This commit is contained in:
AUTOMATIC 2023-05-31 22:45:16 +03:00
parent df02498d03
commit 48875af7a1

View File

@ -26,7 +26,7 @@ class ExtraNetworkParams:
self.named = {}
for item in self.items:
parts = item.split('=', 2)
parts = item.split('=', 2) if isinstance(item, str) else [item]
if len(parts) == 2:
self.named[parts[0]] = parts[1]
else: