extended timing on progress check and fixed dream
Progress check now has a 1.5s timing window (we can update it to wait for the last update before sending a new progress request in the future) Fixed dream() call in img2img tool Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com> Former-commit-id: c137f13e5a71f0b62cc7094bd53f8a4e5f89fcb6
This commit is contained in:
parent
c54a51f8ee
commit
5b2a6234d4
2 changed files with 2 additions and 2 deletions
|
@ -457,7 +457,7 @@ function checkProgress(bb) {
|
||||||
|
|
||||||
document.getElementById("estRemaining").innerText = estimate;
|
document.getElementById("estRemaining").innerText = estimate;
|
||||||
});
|
});
|
||||||
}, 500);
|
}, 1500);
|
||||||
}
|
}
|
||||||
|
|
||||||
function mouseMove(evt) {
|
function mouseMove(evt) {
|
||||||
|
|
|
@ -173,6 +173,6 @@ const dream_img2img_callback = (evn, state) => {
|
||||||
request.inpainting_mask_invert = true;
|
request.inpainting_mask_invert = true;
|
||||||
|
|
||||||
// Dream
|
// Dream
|
||||||
dream(bb.x, bb.y, request, {method: "img2img"});
|
dream(bb.x, bb.y, request, {method: "img2img", stopMarching, bb});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue