Merge branch 'sd3' into flux-lora-init

This commit is contained in:
rockerBOO
2025-05-07 23:23:12 -04:00
5 changed files with 159 additions and 64 deletions

View File

@@ -6176,6 +6176,11 @@ def line_to_prompt_dict(line: str) -> dict:
prompt_dict["scale"] = float(m.group(1))
continue
m = re.match(r"g ([\d\.]+)", parg, re.IGNORECASE)
if m: # guidance scale
prompt_dict["guidance_scale"] = float(m.group(1))
continue
m = re.match(r"n (.+)", parg, re.IGNORECASE)
if m: # negative prompt
prompt_dict["negative_prompt"] = m.group(1)