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,
|
infillTileSize,
|
||||||
infillPatchmatchDownscaleSize,
|
infillPatchmatchDownscaleSize,
|
||||||
infillMethod,
|
infillMethod,
|
||||||
infillMosaicTileWidth,
|
// infillMosaicTileWidth,
|
||||||
infillMosaicTileHeight,
|
// infillMosaicTileHeight,
|
||||||
infillMosaicMinColor,
|
// infillMosaicMinColor,
|
||||||
infillMosaicMaxColor,
|
// infillMosaicMaxColor,
|
||||||
infillColorValue,
|
infillColorValue,
|
||||||
clipSkip,
|
clipSkip,
|
||||||
seamlessXAxis,
|
seamlessXAxis,
|
||||||
@ -361,17 +361,18 @@ export const buildCanvasOutpaintGraph = async (
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (infillMethod === 'mosaic') {
|
// TODO: add mosaic back
|
||||||
graph.nodes[INPAINT_INFILL] = {
|
// if (infillMethod === 'mosaic') {
|
||||||
type: 'infill_mosaic',
|
// graph.nodes[INPAINT_INFILL] = {
|
||||||
id: INPAINT_INFILL,
|
// type: 'infill_mosaic',
|
||||||
is_intermediate,
|
// id: INPAINT_INFILL,
|
||||||
tile_width: infillMosaicTileWidth,
|
// is_intermediate,
|
||||||
tile_height: infillMosaicTileHeight,
|
// tile_width: infillMosaicTileWidth,
|
||||||
min_color: infillMosaicMinColor,
|
// tile_height: infillMosaicTileHeight,
|
||||||
max_color: infillMosaicMaxColor,
|
// min_color: infillMosaicMinColor,
|
||||||
};
|
// max_color: infillMosaicMaxColor,
|
||||||
}
|
// };
|
||||||
|
// }
|
||||||
|
|
||||||
if (infillMethod === 'color') {
|
if (infillMethod === 'color') {
|
||||||
graph.nodes[INPAINT_INFILL] = {
|
graph.nodes[INPAINT_INFILL] = {
|
||||||
|
@ -66,10 +66,10 @@ export const buildCanvasSDXLOutpaintGraph = async (
|
|||||||
infillTileSize,
|
infillTileSize,
|
||||||
infillPatchmatchDownscaleSize,
|
infillPatchmatchDownscaleSize,
|
||||||
infillMethod,
|
infillMethod,
|
||||||
infillMosaicTileWidth,
|
// infillMosaicTileWidth,
|
||||||
infillMosaicTileHeight,
|
// infillMosaicTileHeight,
|
||||||
infillMosaicMinColor,
|
// infillMosaicMinColor,
|
||||||
infillMosaicMaxColor,
|
// infillMosaicMaxColor,
|
||||||
infillColorValue,
|
infillColorValue,
|
||||||
seamlessXAxis,
|
seamlessXAxis,
|
||||||
seamlessYAxis,
|
seamlessYAxis,
|
||||||
@ -370,17 +370,18 @@ export const buildCanvasSDXLOutpaintGraph = async (
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (infillMethod === 'mosaic') {
|
// TODO: add mosaic back
|
||||||
graph.nodes[INPAINT_INFILL] = {
|
// if (infillMethod === 'mosaic') {
|
||||||
type: 'infill_mosaic',
|
// graph.nodes[INPAINT_INFILL] = {
|
||||||
id: INPAINT_INFILL,
|
// type: 'infill_mosaic',
|
||||||
is_intermediate,
|
// id: INPAINT_INFILL,
|
||||||
tile_width: infillMosaicTileWidth,
|
// is_intermediate,
|
||||||
tile_height: infillMosaicTileHeight,
|
// tile_width: infillMosaicTileWidth,
|
||||||
min_color: infillMosaicMinColor,
|
// tile_height: infillMosaicTileHeight,
|
||||||
max_color: infillMosaicMaxColor,
|
// min_color: infillMosaicMinColor,
|
||||||
};
|
// max_color: infillMosaicMaxColor,
|
||||||
}
|
// };
|
||||||
|
// }
|
||||||
|
|
||||||
if (infillMethod === 'color') {
|
if (infillMethod === 'color') {
|
||||||
graph.nodes[INPAINT_INFILL] = {
|
graph.nodes[INPAINT_INFILL] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user