mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: SDXL Inpaint & Outpaint using regular Img2Img strength
This commit is contained in:
@ -53,7 +53,6 @@ export const buildCanvasSDXLInpaintGraph = (
|
|||||||
cfgScale: cfg_scale,
|
cfgScale: cfg_scale,
|
||||||
scheduler,
|
scheduler,
|
||||||
steps,
|
steps,
|
||||||
img2imgStrength: strength,
|
|
||||||
iterations,
|
iterations,
|
||||||
seed,
|
seed,
|
||||||
shouldRandomizeSeed,
|
shouldRandomizeSeed,
|
||||||
@ -64,8 +63,12 @@ export const buildCanvasSDXLInpaintGraph = (
|
|||||||
maskBlurMethod,
|
maskBlurMethod,
|
||||||
} = state.generation;
|
} = state.generation;
|
||||||
|
|
||||||
const { shouldUseSDXLRefiner, refinerStart, shouldConcatSDXLStylePrompt } =
|
const {
|
||||||
state.sdxl;
|
sdxlImg2ImgDenoisingStrength: strength,
|
||||||
|
shouldUseSDXLRefiner,
|
||||||
|
refinerStart,
|
||||||
|
shouldConcatSDXLStylePrompt,
|
||||||
|
} = state.sdxl;
|
||||||
|
|
||||||
if (!model) {
|
if (!model) {
|
||||||
log.error('No model found in state');
|
log.error('No model found in state');
|
||||||
|
@ -59,7 +59,6 @@ export const buildCanvasSDXLOutpaintGraph = (
|
|||||||
cfgScale: cfg_scale,
|
cfgScale: cfg_scale,
|
||||||
scheduler,
|
scheduler,
|
||||||
steps,
|
steps,
|
||||||
img2imgStrength: strength,
|
|
||||||
iterations,
|
iterations,
|
||||||
seed,
|
seed,
|
||||||
shouldRandomizeSeed,
|
shouldRandomizeSeed,
|
||||||
@ -72,8 +71,12 @@ export const buildCanvasSDXLOutpaintGraph = (
|
|||||||
infillMethod,
|
infillMethod,
|
||||||
} = state.generation;
|
} = state.generation;
|
||||||
|
|
||||||
const { shouldUseSDXLRefiner, refinerStart, shouldConcatSDXLStylePrompt } =
|
const {
|
||||||
state.sdxl;
|
sdxlImg2ImgDenoisingStrength: strength,
|
||||||
|
shouldUseSDXLRefiner,
|
||||||
|
refinerStart,
|
||||||
|
shouldConcatSDXLStylePrompt,
|
||||||
|
} = state.sdxl;
|
||||||
|
|
||||||
if (!model) {
|
if (!model) {
|
||||||
log.error('No model found in state');
|
log.error('No model found in state');
|
||||||
|
Reference in New Issue
Block a user