mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-15 07:03:06 +03:00
revert sr warning
This commit is contained in:
parent
4b460fcb1a
commit
a8490e4019
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user