Commit a8490e40 authored by DepFA's avatar DepFA Committed by GitHub

revert sr warning

parent 4b460fcb
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment