Skip to content

Commit af477fa

Browse files
tidy(ui): remove unused modelLoader from refiner helper
1 parent 0ff0290 commit af477fa

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

invokeai/frontend/web/src/features/nodes/util/graph/generation/addSDXLRefiner.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export const addSDXLRefiner = async (
1717
state: RootState,
1818
g: Graph,
1919
denoise: Invocation<'denoise_latents'>,
20-
modelLoader: Invocation<'sdxl_model_loader'>,
2120
seamless: Invocation<'seamless'> | null,
2221
posCond: Invocation<'sdxl_compel_prompt'>,
2322
negCond: Invocation<'sdxl_compel_prompt'>,
@@ -77,7 +76,6 @@ export const addSDXLRefiner = async (
7776
seamless_y: seamless.seamless_y,
7877
});
7978
g.addEdge(refinerModelLoader, 'unet', refinerSeamless, 'unet');
80-
g.addEdge(refinerModelLoader, 'vae', refinerSeamless, 'vae');
8179
g.addEdge(refinerSeamless, 'unet', refinerDenoise, 'unet');
8280
} else {
8381
g.addEdge(refinerModelLoader, 'unet', refinerDenoise, 'unet');

invokeai/frontend/web/src/features/nodes/util/graph/generation/buildGenerationTabSDXLGraph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export const buildGenerationTabSDXLGraph = async (state: RootState): Promise<Non
145145

146146
// Add Refiner if enabled
147147
if (refinerModel) {
148-
await addSDXLRefiner(state, g, denoise, modelLoader, seamless, posCond, negCond, l2i);
148+
await addSDXLRefiner(state, g, denoise, seamless, posCond, negCond, l2i);
149149
}
150150

151151
await addControlLayers(

0 commit comments

Comments
 (0)