mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-02-07 22:22:53 +08:00
Fix empty override settings
Apparently empty dropdowns now return None
This commit is contained in:
parent
77f9222599
commit
2d8d54def5
@ -421,6 +421,9 @@ def create_override_settings_dict(text_pairs):
|
|||||||
|
|
||||||
res = {}
|
res = {}
|
||||||
|
|
||||||
|
if not text_pairs:
|
||||||
|
return res
|
||||||
|
|
||||||
params = {}
|
params = {}
|
||||||
for pair in text_pairs:
|
for pair in text_pairs:
|
||||||
k, v = pair.split(":", maxsplit=1)
|
k, v = pair.split(":", maxsplit=1)
|
||||||
|
Loading…
Reference in New Issue
Block a user