fixes broken CFG slider

negative CFGs are for super-weirdos amirite
This commit is contained in:
tim h 2023-01-02 01:35:54 -06:00
parent 6b14779af7
commit ec6259cfaa
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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,