提交 0674fabd 编写于 作者: L ljleb

fix AND linebreaks

上级 f865d3e1
...@@ -153,7 +153,7 @@ def get_learned_conditioning(model, prompts, steps): ...@@ -153,7 +153,7 @@ def get_learned_conditioning(model, prompts, steps):
re_AND = re.compile(r"\bAND\b") re_AND = re.compile(r"\bAND\b")
re_weight = re.compile(r"^(.*?)(?:\s*:\s*([-+]?(?:\d+\.?|\d*\.\d+)))?\s*$") re_weight = re.compile(r"^(\s*.*?)(?:\s*:\s*([-+]?(?:\d+\.?|\d*\.\d+)))?\s*$")
def get_multicond_prompt_list(prompts): def get_multicond_prompt_list(prompts):
res_indexes = [] res_indexes = []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册