diff --git a/public/index.html b/public/index.html index a1b1c784a..4ab1fbca3 100644 --- a/public/index.html +++ b/public/index.html @@ -539,9 +539,8 @@
-
- select -
+ +
@@ -554,9 +553,8 @@
-
- select -
+ +
diff --git a/public/scripts/textgen-settings.js b/public/scripts/textgen-settings.js index 25ffc2cb4..c278fe8cd 100644 --- a/public/scripts/textgen-settings.js +++ b/public/scripts/textgen-settings.js @@ -290,8 +290,7 @@ jQuery(function () { } else { const value = Number($(this).val()); - $(`#${id}_counter_textgenerationwebui`).val(value.toFixed(2)); - $("#rep_pen_range_counter_textgenerationwebui").val(Math.floor(value)); + $(`#${id}_counter_textgenerationwebui`).val(value); textgenerationwebui_settings[id] = value; } @@ -317,8 +316,7 @@ function setSettingByName(i, value, trigger) { else { const val = parseFloat(value); $(`#${i}_textgenerationwebui`).val(val); - $(`#${i}_counter_textgenerationwebui`).val(val.toFixed(2)); - $("#rep_pen_range_counter_textgenerationwebui").val(Math.floor(val)); + $(`#${i}_counter_textgenerationwebui`).val(val); } if (trigger) {