Unblock amount_gen in Kobold GUI preset

This commit is contained in:
Cohee 2023-09-13 15:19:44 +03:00
parent 77a28c7131
commit d62cdffcc0
2 changed files with 3 additions and 5 deletions

View File

@ -249,7 +249,7 @@
<input id="max_context_unlocked" type="checkbox" />
<span data-i18n="unlocked">Unlocked</span>
</label>
<div id="max_context_unlocked_warning">
<div id="max_context_unlocked_warning" class="toggle-description justifyLeft widthUnset">
<span data-i18n="only select modls support context sizes greater than 2048 tokens. proceed only is you know you're doing">
Only select models support context sizes greater than 2048 tokens.
Increase only if you know what you're doing.

View File

@ -7889,13 +7889,11 @@ jQuery(async function () {
//$('.button').disableSelection();
preset_settings = "gui";
$("#range_block").find('input').prop("disabled", true);
$("#range_block").css("opacity", 0.5);
$("#kobold-advanced-config").find('input').prop("disabled", true);
$("#kobold-advanced-config").css('opacity', 0.5);
$("#range_block").css("opacity", 0.5);
$("#amount_gen_block").find('input').prop("disabled", true);
$("#amount_gen_block").css("opacity", 0.45);
$("#kobold_order").sortable("disable");
}
saveSettingsDebounced();