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

View file

@ -62,12 +62,9 @@ const _monitorProgress = (bb, oncheck = null) => {
} }
const timeSpent = performance.now() - init; const timeSpent = performance.now() - init;
setTimeout( setTimeout(() => {
() => { if (running) _checkProgress();
if (running) _checkProgress(); }, Math.max(0, minDelay - timeSpent));
},
Math.max(0, minDelay - timeSpent)
);
}; };
_checkProgress(); _checkProgress();
@ -2028,11 +2025,11 @@ const dreamTool = () =>
"Outpaint Type", "Outpaint Type",
{ {
0: "fill", 0: "fill",
1: "original (AVOID)", 1: "original (SDXL)",
2: "latent noise (suggested)", 2: "latent noise (SD1.x/2.x)",
3: "latent nothing", 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; stableDiffusionData.outpainting_fill = state.outpainting_fill;
} }