diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-05-31 19:45:16 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-05-31 19:57:27 +0000 |
commit | 3690e4e82c58264f3ff79216ed4ba94ebcc1c982 (patch) | |
tree | 8767b721721dd13fa5a8affdf9bcadedb48112ba /modules/extra_networks.py | |
parent | 6427ffde4dc6bed5ade3584fcb2fe72528be193e (diff) | |
download | stable-diffusion-webui-gfx803-3690e4e82c58264f3ff79216ed4ba94ebcc1c982.tar.gz stable-diffusion-webui-gfx803-3690e4e82c58264f3ff79216ed4ba94ebcc1c982.tar.bz2 stable-diffusion-webui-gfx803-3690e4e82c58264f3ff79216ed4ba94ebcc1c982.zip |
fix [Bug]: LoRA don't apply on dropdown list sd_lora #10880
Diffstat (limited to 'modules/extra_networks.py')
-rw-r--r-- | modules/extra_networks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra_networks.py b/modules/extra_networks.py index 34a3ba63..f4743928 100644 --- a/modules/extra_networks.py +++ b/modules/extra_networks.py @@ -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:
|