Skip to content

Commit

Permalink
fixes broken CFG slider
Browse files Browse the repository at this point in the history
negative CFGs are for super-weirdos amirite
  • Loading branch information
zero01101 committed Jan 2, 2023
1 parent 6b14779 commit ec6259c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@

<!-- Content -->
<script src="js/prompt.js?v=7a1c68c" type="text/javascript"></script>
<script src="js/index.js?v=466f241" type="text/javascript"></script>
<script src="js/index.js?v=406fb7a" type="text/javascript"></script>

<script
src="js/ui/floating/history.js?v=fc92d14"
Expand Down
2 changes: 1 addition & 1 deletion js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ makeSlider(
"CFG Scale",
document.getElementById("cfgScale"),
"cfg_scale",
localStorage.getItem("openoutpaint/settings.min-cfg") || -1,
localStorage.getItem("openoutpaint/settings.min-cfg") || 1,
localStorage.getItem("openoutpaint/settings.max-cfg") || 25,
0.5,
7.0,
Expand Down

0 comments on commit ec6259c

Please sign in to comment.