possible fix: seamless not being seamless with baked

This commit is contained in:
blessedcoolant 2024-02-15 02:15:55 +05:30 committed by Kent Keirsey
parent ff9bd040cc
commit d7f6af1f07
2 changed files with 11 additions and 11 deletions

View File

@ -159,7 +159,7 @@ export const addHrfToGraph = (state: RootState, graph: NonNullableGraph): void =
}, },
{ {
source: { source: {
node_id: isAutoVae ? MAIN_MODEL_LOADER : isSeamlessEnabled ? SEAMLESS : VAE_LOADER, node_id: isSeamlessEnabled ? SEAMLESS : isAutoVae ? MAIN_MODEL_LOADER : VAE_LOADER,
field: 'vae', field: 'vae',
}, },
destination: { destination: {
@ -260,7 +260,7 @@ export const addHrfToGraph = (state: RootState, graph: NonNullableGraph): void =
graph.edges.push( graph.edges.push(
{ {
source: { source: {
node_id: isAutoVae ? MAIN_MODEL_LOADER : isSeamlessEnabled ? SEAMLESS : VAE_LOADER, node_id: isSeamlessEnabled ? SEAMLESS : isAutoVae ? MAIN_MODEL_LOADER : VAE_LOADER,
field: 'vae', field: 'vae',
}, },
destination: { destination: {
@ -323,7 +323,7 @@ export const addHrfToGraph = (state: RootState, graph: NonNullableGraph): void =
graph.edges.push( graph.edges.push(
{ {
source: { source: {
node_id: isAutoVae ? MAIN_MODEL_LOADER : isSeamlessEnabled ? SEAMLESS : VAE_LOADER, node_id: isSeamlessEnabled ? SEAMLESS : isAutoVae ? MAIN_MODEL_LOADER : VAE_LOADER,
field: 'vae', field: 'vae',
}, },
destination: { destination: {

View File

@ -58,7 +58,7 @@ export const addVAEToGraph = (
) { ) {
graph.edges.push({ graph.edges.push({
source: { source: {
node_id: isAutoVae ? modelLoaderNodeId : isSeamlessEnabled ? SEAMLESS : VAE_LOADER, node_id: isSeamlessEnabled ? SEAMLESS : isAutoVae ? modelLoaderNodeId : VAE_LOADER,
field: 'vae', field: 'vae',
}, },
destination: { destination: {
@ -76,7 +76,7 @@ export const addVAEToGraph = (
) { ) {
graph.edges.push({ graph.edges.push({
source: { source: {
node_id: isAutoVae ? modelLoaderNodeId : isSeamlessEnabled ? SEAMLESS : VAE_LOADER, node_id: isSeamlessEnabled ? SEAMLESS : isAutoVae ? modelLoaderNodeId : VAE_LOADER,
field: 'vae', field: 'vae',
}, },
destination: { destination: {
@ -94,7 +94,7 @@ export const addVAEToGraph = (
) { ) {
graph.edges.push({ graph.edges.push({
source: { source: {
node_id: isAutoVae ? modelLoaderNodeId : isSeamlessEnabled ? SEAMLESS : VAE_LOADER, node_id: isSeamlessEnabled ? SEAMLESS : isAutoVae ? modelLoaderNodeId : VAE_LOADER,
field: 'vae', field: 'vae',
}, },
destination: { destination: {
@ -113,7 +113,7 @@ export const addVAEToGraph = (
graph.edges.push( graph.edges.push(
{ {
source: { source: {
node_id: isAutoVae ? modelLoaderNodeId : isSeamlessEnabled ? SEAMLESS : VAE_LOADER, node_id: isSeamlessEnabled ? SEAMLESS : isAutoVae ? modelLoaderNodeId : VAE_LOADER,
field: 'vae', field: 'vae',
}, },
destination: { destination: {
@ -123,7 +123,7 @@ export const addVAEToGraph = (
}, },
{ {
source: { source: {
node_id: isAutoVae ? modelLoaderNodeId : isSeamlessEnabled ? SEAMLESS : VAE_LOADER, node_id: isSeamlessEnabled ? SEAMLESS : isAutoVae ? modelLoaderNodeId : VAE_LOADER,
field: 'vae', field: 'vae',
}, },
destination: { destination: {
@ -133,7 +133,7 @@ export const addVAEToGraph = (
}, },
{ {
source: { source: {
node_id: isAutoVae ? modelLoaderNodeId : isSeamlessEnabled ? SEAMLESS : VAE_LOADER, node_id: isSeamlessEnabled ? SEAMLESS : isAutoVae ? modelLoaderNodeId : VAE_LOADER,
field: 'vae', field: 'vae',
}, },
destination: { destination: {
@ -147,7 +147,7 @@ export const addVAEToGraph = (
if (canvasCoherenceMode !== 'unmasked') { if (canvasCoherenceMode !== 'unmasked') {
graph.edges.push({ graph.edges.push({
source: { source: {
node_id: isAutoVae ? modelLoaderNodeId : isSeamlessEnabled ? SEAMLESS : VAE_LOADER, node_id: isSeamlessEnabled ? SEAMLESS : isAutoVae ? modelLoaderNodeId : VAE_LOADER,
field: 'vae', field: 'vae',
}, },
destination: { destination: {
@ -162,7 +162,7 @@ export const addVAEToGraph = (
if (graph.id === SDXL_CANVAS_INPAINT_GRAPH || graph.id === SDXL_CANVAS_OUTPAINT_GRAPH) { if (graph.id === SDXL_CANVAS_INPAINT_GRAPH || graph.id === SDXL_CANVAS_OUTPAINT_GRAPH) {
graph.edges.push({ graph.edges.push({
source: { source: {
node_id: isAutoVae ? modelLoaderNodeId : isSeamlessEnabled ? SEAMLESS : VAE_LOADER, node_id: isSeamlessEnabled ? SEAMLESS : isAutoVae ? modelLoaderNodeId : VAE_LOADER,
field: 'vae', field: 'vae',
}, },
destination: { destination: {