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 6427ffde4d
commit 3690e4e82c
1 changed files with 1 additions and 1 deletions

View File

@ -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: