mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): disable mosaic infill in graph builders
This commit is contained in:
parent
90bdd74f30
commit
5d4a571778
@ -65,10 +65,10 @@ export const buildCanvasOutpaintGraph = async (
|
||||
infillTileSize,
|
||||
infillPatchmatchDownscaleSize,
|
||||
infillMethod,
|
||||
infillMosaicTileWidth,
|
||||
infillMosaicTileHeight,
|
||||
infillMosaicMinColor,
|
||||
infillMosaicMaxColor,
|
||||
// infillMosaicTileWidth,
|
||||
// infillMosaicTileHeight,
|
||||
// infillMosaicMinColor,
|
||||
// infillMosaicMaxColor,
|
||||
infillColorValue,
|
||||
clipSkip,
|
||||
seamlessXAxis,
|
||||
@ -361,17 +361,18 @@ export const buildCanvasOutpaintGraph = async (
|
||||
};
|
||||
}
|
||||
|
||||
if (infillMethod === 'mosaic') {
|
||||
graph.nodes[INPAINT_INFILL] = {
|
||||
type: 'infill_mosaic',
|
||||
id: INPAINT_INFILL,
|
||||
is_intermediate,
|
||||
tile_width: infillMosaicTileWidth,
|
||||
tile_height: infillMosaicTileHeight,
|
||||
min_color: infillMosaicMinColor,
|
||||
max_color: infillMosaicMaxColor,
|
||||
};
|
||||
}
|
||||
// TODO: add mosaic back
|
||||
// if (infillMethod === 'mosaic') {
|
||||
// graph.nodes[INPAINT_INFILL] = {
|
||||
// type: 'infill_mosaic',
|
||||
// id: INPAINT_INFILL,
|
||||
// is_intermediate,
|
||||
// tile_width: infillMosaicTileWidth,
|
||||
// tile_height: infillMosaicTileHeight,
|
||||
// min_color: infillMosaicMinColor,
|
||||
// max_color: infillMosaicMaxColor,
|
||||
// };
|
||||
// }
|
||||
|
||||
if (infillMethod === 'color') {
|
||||
graph.nodes[INPAINT_INFILL] = {
|
||||
|
@ -66,10 +66,10 @@ export const buildCanvasSDXLOutpaintGraph = async (
|
||||
infillTileSize,
|
||||
infillPatchmatchDownscaleSize,
|
||||
infillMethod,
|
||||
infillMosaicTileWidth,
|
||||
infillMosaicTileHeight,
|
||||
infillMosaicMinColor,
|
||||
infillMosaicMaxColor,
|
||||
// infillMosaicTileWidth,
|
||||
// infillMosaicTileHeight,
|
||||
// infillMosaicMinColor,
|
||||
// infillMosaicMaxColor,
|
||||
infillColorValue,
|
||||
seamlessXAxis,
|
||||
seamlessYAxis,
|
||||
@ -370,17 +370,18 @@ export const buildCanvasSDXLOutpaintGraph = async (
|
||||
};
|
||||
}
|
||||
|
||||
if (infillMethod === 'mosaic') {
|
||||
graph.nodes[INPAINT_INFILL] = {
|
||||
type: 'infill_mosaic',
|
||||
id: INPAINT_INFILL,
|
||||
is_intermediate,
|
||||
tile_width: infillMosaicTileWidth,
|
||||
tile_height: infillMosaicTileHeight,
|
||||
min_color: infillMosaicMinColor,
|
||||
max_color: infillMosaicMaxColor,
|
||||
};
|
||||
}
|
||||
// TODO: add mosaic back
|
||||
// if (infillMethod === 'mosaic') {
|
||||
// graph.nodes[INPAINT_INFILL] = {
|
||||
// type: 'infill_mosaic',
|
||||
// id: INPAINT_INFILL,
|
||||
// is_intermediate,
|
||||
// tile_width: infillMosaicTileWidth,
|
||||
// tile_height: infillMosaicTileHeight,
|
||||
// min_color: infillMosaicMinColor,
|
||||
// max_color: infillMosaicMaxColor,
|
||||
// };
|
||||
// }
|
||||
|
||||
if (infillMethod === 'color') {
|
||||
graph.nodes[INPAINT_INFILL] = {
|
||||
|
Loading…
Reference in New Issue
Block a user