teensiest change for SDXL fill recommendation

This commit is contained in:
tim h 2023-07-15 09:00:02 -05:00
parent e0c9ab0c68
commit ed9928f9ec
2 changed files with 10 additions and 13 deletions

View file

@ -1,4 +1,4 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
@ -287,8 +287,8 @@
<br />
<span id="version">
<a href="https://github.com/zero01101/openOutpaint" target="_blank">
<s>Alpha release v0.0.16.1</s>
v20230709.002
<s>Alpha release v0.0.16.2</s>
v20230715.001
</a>
<br />
<a
@ -525,7 +525,7 @@
src="js/ui/tool/generic.js?v=3e678e0"
type="text/javascript"></script>
<script src="js/ui/tool/dream.js?v=b55e592" type="text/javascript"></script>
<script src="js/ui/tool/dream.js?v=ac1643d" type="text/javascript"></script>
<script
src="js/ui/tool/maskbrush.js?v=e9bd0eb"
type="text/javascript"></script>

View file

@ -62,12 +62,9 @@ const _monitorProgress = (bb, oncheck = null) => {
}
const timeSpent = performance.now() - init;
setTimeout(
() => {
if (running) _checkProgress();
},
Math.max(0, minDelay - timeSpent)
);
setTimeout(() => {
if (running) _checkProgress();
}, Math.max(0, minDelay - timeSpent));
};
_checkProgress();
@ -2028,11 +2025,11 @@ const dreamTool = () =>
"Outpaint Type",
{
0: "fill",
1: "original (AVOID)",
2: "latent noise (suggested)",
1: "original (SDXL)",
2: "latent noise (SD1.x/2.x)",
3: "latent nothing",
},
2, // AVOID ORIGINAL FOR OUTPAINT OR ELSE but we still give you the option because we love you
2, // AVOID ORIGINAL FOR OUTPAINT OR ELSE but we still give you the option because we love you and because it seems to work better for SDXL
() => {
stableDiffusionData.outpainting_fill = state.outpainting_fill;
}