mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix img2img graphs w/ control layers
This commit is contained in:
parent
26d3ec3fce
commit
7d58908e32
@ -102,11 +102,13 @@ export const addVAEToGraph = async (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
graph.id === SDXL_CONTROL_LAYERS_GRAPH ||
|
(graph.id === CONTROL_LAYERS_GRAPH ||
|
||||||
graph.id === IMAGE_TO_IMAGE_GRAPH ||
|
graph.id === SDXL_CONTROL_LAYERS_GRAPH ||
|
||||||
graph.id === SDXL_IMAGE_TO_IMAGE_GRAPH ||
|
graph.id === IMAGE_TO_IMAGE_GRAPH ||
|
||||||
graph.id === CANVAS_IMAGE_TO_IMAGE_GRAPH ||
|
graph.id === SDXL_IMAGE_TO_IMAGE_GRAPH ||
|
||||||
graph.id === SDXL_CANVAS_IMAGE_TO_IMAGE_GRAPH
|
graph.id === CANVAS_IMAGE_TO_IMAGE_GRAPH ||
|
||||||
|
graph.id === SDXL_CANVAS_IMAGE_TO_IMAGE_GRAPH) &&
|
||||||
|
Boolean(graph.nodes[IMAGE_TO_LATENTS])
|
||||||
) {
|
) {
|
||||||
graph.edges.push({
|
graph.edges.push({
|
||||||
source: {
|
source: {
|
||||||
|
Loading…
Reference in New Issue
Block a user