lora: keep parsed network data through pipeline

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-09-13 16:31:16 +02:00
parent a3b8a7e353
commit 489cbf8048
9 changed files with 72 additions and 26 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ def get_conditions(width, height, condition_strength, condition_images, conditio
def get_prompts(p):
prompt = shared.prompt_styles.apply_styles_to_prompt(p.prompt, p.styles)
negative = shared.prompt_styles.apply_negative_styles_to_prompt(p.negative_prompt, p.styles)
prompts, networks = extra_networks.parse_prompts([prompt])
prompts, networks = extra_networks.parse_prompts([prompt], p.network_data)
prompt = prompts[0] if len(prompts) > 0 else prompt
return prompt, negative, networks