mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
lowercase
This commit is contained in:
parent
c03856bfdf
commit
8941297ceb
@ -147,7 +147,7 @@ def apply_face_restore(p, opt, x):
|
||||
def apply_override(field, boolean: bool = False):
|
||||
def fun(p, x, xs):
|
||||
if boolean:
|
||||
x = True if x == "True" else False
|
||||
x = True if x.lower() == "true" else False
|
||||
p.override_settings[field] = x
|
||||
return fun
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user