mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
ui: split the canvas mask blur and edge size setting
This commit is contained in:
committed by
psychedelicious
parent
32b8478974
commit
afa7043dcd
@ -58,13 +58,13 @@ export const buildCanvasInpaintGraph = (
|
||||
seed,
|
||||
vaePrecision,
|
||||
shouldUseCpuNoise,
|
||||
|
||||
clipSkip,
|
||||
seamlessXAxis,
|
||||
seamlessYAxis,
|
||||
canvasCoherenceMode,
|
||||
canvasCoherenceMinDenoise,
|
||||
canvasCoherenceEdgeSize,
|
||||
maskBlur,
|
||||
} = state.generation;
|
||||
|
||||
if (!model) {
|
||||
@ -156,7 +156,7 @@ export const buildCanvasInpaintGraph = (
|
||||
id: CANVAS_OUTPUT,
|
||||
is_intermediate: getIsIntermediate(state),
|
||||
board: getBoardField(state),
|
||||
mask_blur: canvasCoherenceEdgeSize,
|
||||
mask_blur: maskBlur,
|
||||
source_image: canvasInitImage,
|
||||
},
|
||||
},
|
||||
|
@ -71,6 +71,7 @@ export const buildCanvasOutpaintGraph = (
|
||||
canvasCoherenceMode,
|
||||
canvasCoherenceMinDenoise,
|
||||
canvasCoherenceEdgeSize,
|
||||
maskBlur,
|
||||
} = state.generation;
|
||||
|
||||
if (!model) {
|
||||
@ -176,7 +177,7 @@ export const buildCanvasOutpaintGraph = (
|
||||
is_intermediate: getIsIntermediate(state),
|
||||
board: getBoardField(state),
|
||||
use_cache: false,
|
||||
mask_blur: canvasCoherenceEdgeSize,
|
||||
mask_blur: maskBlur,
|
||||
},
|
||||
},
|
||||
edges: [
|
||||
|
@ -64,6 +64,7 @@ export const buildCanvasSDXLInpaintGraph = (
|
||||
canvasCoherenceMode,
|
||||
canvasCoherenceMinDenoise,
|
||||
canvasCoherenceEdgeSize,
|
||||
maskBlur,
|
||||
} = state.generation;
|
||||
|
||||
const { refinerModel, refinerStart } = state.sdxl;
|
||||
@ -157,7 +158,7 @@ export const buildCanvasSDXLInpaintGraph = (
|
||||
id: CANVAS_OUTPUT,
|
||||
is_intermediate: getIsIntermediate(state),
|
||||
board: getBoardField(state),
|
||||
mask_blur: canvasCoherenceEdgeSize,
|
||||
mask_blur: maskBlur,
|
||||
source_image: canvasInitImage,
|
||||
},
|
||||
},
|
||||
|
@ -71,6 +71,7 @@ export const buildCanvasSDXLOutpaintGraph = (
|
||||
canvasCoherenceMode,
|
||||
canvasCoherenceMinDenoise,
|
||||
canvasCoherenceEdgeSize,
|
||||
maskBlur,
|
||||
} = state.generation;
|
||||
|
||||
const { refinerModel, refinerStart } = state.sdxl;
|
||||
@ -176,7 +177,7 @@ export const buildCanvasSDXLOutpaintGraph = (
|
||||
is_intermediate: getIsIntermediate(state),
|
||||
board: getBoardField(state),
|
||||
use_cache: false,
|
||||
mask_blur: canvasCoherenceEdgeSize,
|
||||
mask_blur: maskBlur,
|
||||
},
|
||||
},
|
||||
edges: [
|
||||
|
Reference in New Issue
Block a user