diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-09 05:58:31 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-09 05:58:31 +0000 |
commit | 41434ba3cd228fe9fc533e21302fac410f879f31 (patch) | |
tree | d5e278a3273d8d1b9e8dde4216a667489a46d505 /scripts/xy_grid.py | |
parent | bcb8a5eb0a7bd52c3f9db068e569cdcfcccbd206 (diff) | |
download | stable-diffusion-webui-gfx803-41434ba3cd228fe9fc533e21302fac410f879f31.tar.gz stable-diffusion-webui-gfx803-41434ba3cd228fe9fc533e21302fac410f879f31.tar.bz2 stable-diffusion-webui-gfx803-41434ba3cd228fe9fc533e21302fac410f879f31.zip |
make X/Y plot's S/R apply to negative prompt as well.
Diffstat (limited to 'scripts/xy_grid.py')
-rw-r--r-- | scripts/xy_grid.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py index df549298..b53c829a 100644 --- a/scripts/xy_grid.py +++ b/scripts/xy_grid.py @@ -21,6 +21,7 @@ def apply_field(field): def apply_prompt(p, x, xs):
p.prompt = p.prompt.replace(xs[0], x)
+ p.negative_prompt = p.negative_prompt.replace(xs[0], x)
samplers_dict = {}
|