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