mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
tidy(ui): remove unused modelLoader from refiner helper
This commit is contained in:
parent
0ff0290735
commit
af477fa295
@ -17,7 +17,6 @@ export const addSDXLRefiner = async (
|
||||
state: RootState,
|
||||
g: Graph,
|
||||
denoise: Invocation<'denoise_latents'>,
|
||||
modelLoader: Invocation<'sdxl_model_loader'>,
|
||||
seamless: Invocation<'seamless'> | null,
|
||||
posCond: Invocation<'sdxl_compel_prompt'>,
|
||||
negCond: Invocation<'sdxl_compel_prompt'>,
|
||||
@ -77,7 +76,6 @@ export const addSDXLRefiner = async (
|
||||
seamless_y: seamless.seamless_y,
|
||||
});
|
||||
g.addEdge(refinerModelLoader, 'unet', refinerSeamless, 'unet');
|
||||
g.addEdge(refinerModelLoader, 'vae', refinerSeamless, 'vae');
|
||||
g.addEdge(refinerSeamless, 'unet', refinerDenoise, 'unet');
|
||||
} else {
|
||||
g.addEdge(refinerModelLoader, 'unet', refinerDenoise, 'unet');
|
||||
|
@ -145,7 +145,7 @@ export const buildGenerationTabSDXLGraph = async (state: RootState): Promise<Non
|
||||
|
||||
// Add Refiner if enabled
|
||||
if (refinerModel) {
|
||||
await addSDXLRefiner(state, g, denoise, modelLoader, seamless, posCond, negCond, l2i);
|
||||
await addSDXLRefiner(state, g, denoise, seamless, posCond, negCond, l2i);
|
||||
}
|
||||
|
||||
await addControlLayers(
|
||||
|
Loading…
Reference in New Issue
Block a user