mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Create SDXL Refiner Create Mask only in inpaint & outpaint
This commit is contained in:
parent
97763f778a
commit
4bac36356a
@ -149,6 +149,10 @@ export const addVAEToGraph = (
|
||||
}
|
||||
|
||||
if (shouldUseSDXLRefiner) {
|
||||
if (
|
||||
graph.id === SDXL_CANVAS_INPAINT_GRAPH ||
|
||||
graph.id === SDXL_CANVAS_OUTPAINT_GRAPH
|
||||
) {
|
||||
graph.edges.push({
|
||||
source: {
|
||||
node_id: isAutoVae ? modelLoaderNodeId : VAE_LOADER,
|
||||
@ -160,6 +164,7 @@ export const addVAEToGraph = (
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (vae && metadataAccumulator) {
|
||||
metadataAccumulator.vae = vae;
|
||||
|
Loading…
x
Reference in New Issue
Block a user