mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(ui): positive prompt in upscale metadata
This commit is contained in:
@@ -138,6 +138,8 @@ export const buildMultidiffusionUpscaleGraph = async (state: RootState): Promise
|
||||
negative_style_prompt: prompts.negativeStyle,
|
||||
});
|
||||
|
||||
g.addEdgeToMetadata(positivePrompt, 'value', 'positive_prompt');
|
||||
|
||||
if (prompts.useMainPromptsForStyle) {
|
||||
g.addEdge(positivePrompt, 'value', posCond, 'style');
|
||||
g.addEdgeToMetadata(positivePrompt, 'value', 'positive_style_prompt');
|
||||
@@ -179,6 +181,8 @@ export const buildMultidiffusionUpscaleGraph = async (state: RootState): Promise
|
||||
g.upsertMetadata({
|
||||
negative_prompt: prompts.negative,
|
||||
});
|
||||
|
||||
g.addEdgeToMetadata(positivePrompt, 'value', 'positive_prompt');
|
||||
}
|
||||
|
||||
const modelConfig = await fetchModelConfigWithTypeGuard(model.key, isNonRefinerMainModelConfig);
|
||||
|
||||
Reference in New Issue
Block a user