Commit 3690e4e8 authored by AUTOMATIC's avatar AUTOMATIC

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

parent 6427ffde
...@@ -26,7 +26,7 @@ class ExtraNetworkParams: ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment