aboutsummaryrefslogtreecommitdiff
path: root/scripts/xy_grid.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-09 08:58:31 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-09 08:58:31 +0300
commit41434ba3cd228fe9fc533e21302fac410f879f31 (patch)
treed5e278a3273d8d1b9e8dde4216a667489a46d505 /scripts/xy_grid.py
parentbcb8a5eb0a7bd52c3f9db068e569cdcfcccbd206 (diff)
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.py1
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 = {}