fix: SDXL Inpaint & Outpaint using regular Img2Img strength

This commit is contained in:
blessedcoolant 2023-08-14 12:55:18 +12:00
parent 3d8da67be3
commit 58d5c61c79
2 changed files with 12 additions and 6 deletions

View File

@ -53,7 +53,6 @@ export const buildCanvasSDXLInpaintGraph = (
cfgScale: cfg_scale,
scheduler,
steps,
img2imgStrength: strength,
iterations,
seed,
shouldRandomizeSeed,
@ -64,8 +63,12 @@ export const buildCanvasSDXLInpaintGraph = (
maskBlurMethod,
} = state.generation;
const { shouldUseSDXLRefiner, refinerStart, shouldConcatSDXLStylePrompt } =
state.sdxl;
const {
sdxlImg2ImgDenoisingStrength: strength,
shouldUseSDXLRefiner,
refinerStart,
shouldConcatSDXLStylePrompt,
} = state.sdxl;
if (!model) {
log.error('No model found in state');

View File

@ -59,7 +59,6 @@ export const buildCanvasSDXLOutpaintGraph = (
cfgScale: cfg_scale,
scheduler,
steps,
img2imgStrength: strength,
iterations,
seed,
shouldRandomizeSeed,
@ -72,8 +71,12 @@ export const buildCanvasSDXLOutpaintGraph = (
infillMethod,
} = state.generation;
const { shouldUseSDXLRefiner, refinerStart, shouldConcatSDXLStylePrompt } =
state.sdxl;
const {
sdxlImg2ImgDenoisingStrength: strength,
shouldUseSDXLRefiner,
refinerStart,
shouldConcatSDXLStylePrompt,
} = state.sdxl;
if (!model) {
log.error('No model found in state');