Skip to content

Commit

Permalink
sampler preset resets seed
Browse files Browse the repository at this point in the history
  • Loading branch information
Concedo authored and Concedo committed Sep 9, 2024
1 parent f2d49e2 commit 566782f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-->

<script>
const LITEVER = 174;
const LITEVER = 175;
const urlParams = new URLSearchParams(window.location.search);
var localflag = urlParams.get('local');
const STORAGE_PREFIX = (localflag?"e_":"")+"kaihordewebui_";
Expand Down Expand Up @@ -9837,6 +9837,7 @@
document.getElementById("miro_type").value = 0;
document.getElementById("dry_multiplier").value = 0;
document.getElementById("xtc_probability").value = 0;
document.getElementById("sampler_seed").value = -1;
document.getElementById("rep_pen").value = document.getElementById("rep_pen_slide").value = found.rep_pen;
document.getElementById("rep_pen_range").value = found.rep_pen_range;
document.getElementById("rep_pen_slope").value = found.rep_pen_slope;
Expand Down Expand Up @@ -9925,7 +9926,8 @@
document.getElementById("miro_type").value != 0 ||
document.getElementById("dry_multiplier").value != 0 ||
document.getElementById("xtc_probability").value != 0 ||
document.getElementById("rep_pen").value != found.rep_pen ||
document.getElementById("sampler_seed").value != -1 ||
document.getElementById("rep_pen").value != found.rep_pen ||
document.getElementById("rep_pen_range").value != found.rep_pen_range ||
document.getElementById("rep_pen_slope").value != found.rep_pen_slope ||
document.getElementById("sampler_order").value != found.sampler_order.toString());
Expand Down

0 comments on commit 566782f

Please sign in to comment.