mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-05-01 11:41:53 +00:00
Fix empty override settings
Apparently empty dropdowns now return None
This commit is contained in:
@@ -421,6 +421,9 @@ def create_override_settings_dict(text_pairs):
|
||||
|
||||
res = {}
|
||||
|
||||
if not text_pairs:
|
||||
return res
|
||||
|
||||
params = {}
|
||||
for pair in text_pairs:
|
||||
k, v = pair.split(":", maxsplit=1)
|
||||
|
||||
Reference in New Issue
Block a user