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
@ -420,6 +420,9 @@ def create_override_settings_dict(text_pairs):
|
||||
"""
|
||||
|
||||
res = {}
|
||||
|
||||
if not text_pairs:
|
||||
return res
|
||||
|
||||
params = {}
|
||||
for pair in text_pairs:
|
||||
|
Loading…
Reference in New Issue
Block a user