fix(ui): denoise start on outpainting

This commit is contained in:
psychedelicious 2024-07-01 18:03:20 +10:00
parent 9eb091f873
commit 7ccf559a06

View File

@ -20,6 +20,8 @@ export const addOutpaint = async (
denoising_start: number,
vaePrecision: ParameterPrecision
): Promise<Invocation<'canvas_paste_back'>> => {
denoise.denoising_start = denoising_start;
const cropBbox = pick(bbox, ['x', 'y', 'width', 'height']);
const initialImage = await manager.getImageSourceImage({ bbox: cropBbox });
const maskImage = await manager.getInpaintMaskImage({ bbox: cropBbox });