fix(ui): negative style prompt not recorded in metadata

This commit is contained in:
psychedelicious
2025-07-17 22:31:17 +10:00
parent e6ad91bf89
commit e329f5ad43

View File

@@ -141,7 +141,7 @@ export const buildSDXLGraph = async (arg: GraphBuilderArg): Promise<GraphBuilder
rand_device: shouldUseCpuNoise ? 'cpu' : 'cuda',
scheduler,
negative_prompt: prompts.negative,
negative_style_prompt: prompts.negativeStyle,
negative_style_prompt: prompts.useMainPromptsForStyle ? prompts.negative : prompts.negativeStyle,
vae: vae ?? undefined,
});
g.addEdgeToMetadata(seed, 'value', 'seed');