aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDepFA <35278260+dfaker@users.noreply.github.com>2022-10-11 11:42:41 +0100
committerGitHub <noreply@github.com>2022-10-11 11:42:41 +0100
commita8490e4019c359ff24824e004059744d7164361b (patch)
tree50ffc3cf6187adc6ab93cba6f100c80af599435a /scripts
parent4b460fcb1a0224772949556fe0469da93245c532 (diff)
revert sr warning
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xy_grid.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py
index 10a82dc9..99b3c4f6 100644
--- a/scripts/xy_grid.py
+++ b/scripts/xy_grid.py
@@ -35,7 +35,8 @@ def apply_prompt(p, x, xs):
p.negative_prompt = p.negative_prompt.replace(xs[0], x)
if p.prompt == orig_prompt and p.negative_prompt == orig_negative_prompt:
- raise RuntimeError(f"Prompt S/R did not find {xs[0]} in prompt or negative prompt. Did you forget to add the token?")
+ pass
+ #raise RuntimeError(f"Prompt S/R did not find {xs[0]} in prompt or negative prompt. Did you forget to add the token?")
def apply_order(p, x, xs):