Skip to content

Commit

Permalink
teensiest change for SDXL fill recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
zero01101 committed Jul 15, 2023
1 parent e0c9ab0 commit ed9928f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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>
Expand Down
15 changes: 6 additions & 9 deletions js/ui/tool/dream.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit ed9928f

Please sign in to comment.