mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 10:31:17 -08:00
fix various float parsing errors
This commit is contained in:
parent
c26732fbee
commit
f8e41a96bb
1 changed files with 1 additions and 2 deletions
|
|
@ -143,8 +143,7 @@ def get_learned_conditioning(model, prompts, steps):
|
|||
|
||||
|
||||
re_AND = re.compile(r"\bAND\b")
|
||||
re_weight = re.compile(r"^(.*?)(?:\s*:\s*([-+]?\s*(?:\d+|\d*\.\d+)?))?\s*$")
|
||||
|
||||
re_weight = re.compile(r"^(.*?)(?:\s*:\s*([-+]?(?:\d+\.?|\d*\.\d+)))?\s*$")
|
||||
|
||||
def get_multicond_prompt_list(prompts):
|
||||
res_indexes = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue