diff options
author | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-07-17 03:45:38 +0000 |
---|---|---|
committer | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-07-17 03:45:38 +0000 |
commit | 8941297ceb3e71fa16fd842b135786b0ebc1b2b1 (patch) | |
tree | acf861122fc2830effd65175efc00cda738a3277 /scripts/xyz_grid.py | |
parent | c03856bfdf30fd0e061caefd60231eb86a983c71 (diff) | |
download | stable-diffusion-webui-gfx803-8941297ceb3e71fa16fd842b135786b0ebc1b2b1.tar.gz stable-diffusion-webui-gfx803-8941297ceb3e71fa16fd842b135786b0ebc1b2b1.tar.bz2 stable-diffusion-webui-gfx803-8941297ceb3e71fa16fd842b135786b0ebc1b2b1.zip |
lowercase
Diffstat (limited to 'scripts/xyz_grid.py')
-rw-r--r-- | scripts/xyz_grid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xyz_grid.py b/scripts/xyz_grid.py index bddc28c7..1010845e 100644 --- a/scripts/xyz_grid.py +++ b/scripts/xyz_grid.py @@ -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
|