chore: Update var names that were not updated

This commit is contained in:
blessedcoolant 2023-08-29 04:33:22 +12:00
parent b5dac99411
commit fcb60a7a59
5 changed files with 29 additions and 29 deletions

View File

@ -87,9 +87,9 @@ export const buildCanvasImageToImageGraph = (
const graph: NonNullableGraph = { const graph: NonNullableGraph = {
id: CANVAS_IMAGE_TO_IMAGE_GRAPH, id: CANVAS_IMAGE_TO_IMAGE_GRAPH,
nodes: { nodes: {
[MAIN_MODEL_LOADER]: { [modelLoaderNodeId]: {
type: 'main_model_loader', type: 'main_model_loader',
id: MAIN_MODEL_LOADER, id: modelLoaderNodeId,
is_intermediate: true, is_intermediate: true,
model, model,
}, },
@ -148,7 +148,7 @@ export const buildCanvasImageToImageGraph = (
// Connect Model Loader to CLIP Skip and UNet // Connect Model Loader to CLIP Skip and UNet
{ {
source: { source: {
node_id: MAIN_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'unet', field: 'unet',
}, },
destination: { destination: {
@ -158,7 +158,7 @@ export const buildCanvasImageToImageGraph = (
}, },
{ {
source: { source: {
node_id: MAIN_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip', field: 'clip',
}, },
destination: { destination: {

View File

@ -100,9 +100,9 @@ export const buildCanvasSDXLImageToImageGraph = (
const graph: NonNullableGraph = { const graph: NonNullableGraph = {
id: SDXL_CANVAS_IMAGE_TO_IMAGE_GRAPH, id: SDXL_CANVAS_IMAGE_TO_IMAGE_GRAPH,
nodes: { nodes: {
[SDXL_MODEL_LOADER]: { [modelLoaderNodeId]: {
type: 'sdxl_model_loader', type: 'sdxl_model_loader',
id: SDXL_MODEL_LOADER, id: modelLoaderNodeId,
model, model,
}, },
[POSITIVE_CONDITIONING]: { [POSITIVE_CONDITIONING]: {
@ -152,7 +152,7 @@ export const buildCanvasSDXLImageToImageGraph = (
// Connect Model Loader To UNet & CLIP // Connect Model Loader To UNet & CLIP
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'unet', field: 'unet',
}, },
destination: { destination: {
@ -162,7 +162,7 @@ export const buildCanvasSDXLImageToImageGraph = (
}, },
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip', field: 'clip',
}, },
destination: { destination: {
@ -172,7 +172,7 @@ export const buildCanvasSDXLImageToImageGraph = (
}, },
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip2', field: 'clip2',
}, },
destination: { destination: {
@ -182,7 +182,7 @@ export const buildCanvasSDXLImageToImageGraph = (
}, },
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip', field: 'clip',
}, },
destination: { destination: {
@ -192,7 +192,7 @@ export const buildCanvasSDXLImageToImageGraph = (
}, },
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip2', field: 'clip2',
}, },
destination: { destination: {

View File

@ -94,9 +94,9 @@ export const buildLinearImageToImageGraph = (
const graph: NonNullableGraph = { const graph: NonNullableGraph = {
id: IMAGE_TO_IMAGE_GRAPH, id: IMAGE_TO_IMAGE_GRAPH,
nodes: { nodes: {
[MAIN_MODEL_LOADER]: { [modelLoaderNodeId]: {
type: 'main_model_loader', type: 'main_model_loader',
id: MAIN_MODEL_LOADER, id: modelLoaderNodeId,
model, model,
}, },
[CLIP_SKIP]: { [CLIP_SKIP]: {
@ -147,7 +147,7 @@ export const buildLinearImageToImageGraph = (
// Connect Model Loader to UNet and CLIP Skip // Connect Model Loader to UNet and CLIP Skip
{ {
source: { source: {
node_id: MAIN_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'unet', field: 'unet',
}, },
destination: { destination: {
@ -157,7 +157,7 @@ export const buildLinearImageToImageGraph = (
}, },
{ {
source: { source: {
node_id: MAIN_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip', field: 'clip',
}, },
destination: { destination: {

View File

@ -99,9 +99,9 @@ export const buildLinearSDXLImageToImageGraph = (
const graph: NonNullableGraph = { const graph: NonNullableGraph = {
id: SDXL_IMAGE_TO_IMAGE_GRAPH, id: SDXL_IMAGE_TO_IMAGE_GRAPH,
nodes: { nodes: {
[SDXL_MODEL_LOADER]: { [modelLoaderNodeId]: {
type: 'sdxl_model_loader', type: 'sdxl_model_loader',
id: SDXL_MODEL_LOADER, id: modelLoaderNodeId,
model, model,
}, },
[POSITIVE_CONDITIONING]: { [POSITIVE_CONDITIONING]: {
@ -151,7 +151,7 @@ export const buildLinearSDXLImageToImageGraph = (
// Connect Model Loader to UNet, CLIP & VAE // Connect Model Loader to UNet, CLIP & VAE
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'unet', field: 'unet',
}, },
destination: { destination: {
@ -161,7 +161,7 @@ export const buildLinearSDXLImageToImageGraph = (
}, },
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip', field: 'clip',
}, },
destination: { destination: {
@ -171,7 +171,7 @@ export const buildLinearSDXLImageToImageGraph = (
}, },
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip2', field: 'clip2',
}, },
destination: { destination: {
@ -181,7 +181,7 @@ export const buildLinearSDXLImageToImageGraph = (
}, },
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip', field: 'clip',
}, },
destination: { destination: {
@ -191,7 +191,7 @@ export const buildLinearSDXLImageToImageGraph = (
}, },
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip2', field: 'clip2',
}, },
destination: { destination: {

View File

@ -82,9 +82,9 @@ export const buildLinearSDXLTextToImageGraph = (
const graph: NonNullableGraph = { const graph: NonNullableGraph = {
id: SDXL_TEXT_TO_IMAGE_GRAPH, id: SDXL_TEXT_TO_IMAGE_GRAPH,
nodes: { nodes: {
[SDXL_MODEL_LOADER]: { [modelLoaderNodeId]: {
type: 'sdxl_model_loader', type: 'sdxl_model_loader',
id: SDXL_MODEL_LOADER, id: modelLoaderNodeId,
model, model,
}, },
[POSITIVE_CONDITIONING]: { [POSITIVE_CONDITIONING]: {
@ -125,7 +125,7 @@ export const buildLinearSDXLTextToImageGraph = (
// Connect Model Loader to UNet, VAE & CLIP // Connect Model Loader to UNet, VAE & CLIP
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'unet', field: 'unet',
}, },
destination: { destination: {
@ -135,7 +135,7 @@ export const buildLinearSDXLTextToImageGraph = (
}, },
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip', field: 'clip',
}, },
destination: { destination: {
@ -145,7 +145,7 @@ export const buildLinearSDXLTextToImageGraph = (
}, },
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip2', field: 'clip2',
}, },
destination: { destination: {
@ -155,7 +155,7 @@ export const buildLinearSDXLTextToImageGraph = (
}, },
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip', field: 'clip',
}, },
destination: { destination: {
@ -165,7 +165,7 @@ export const buildLinearSDXLTextToImageGraph = (
}, },
{ {
source: { source: {
node_id: SDXL_MODEL_LOADER, node_id: modelLoaderNodeId,
field: 'clip2', field: 'clip2',
}, },
destination: { destination: {