mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-04 11:57:44 +01:00
unrestricted amount_gen for madlab mode
This commit is contained in:
parent
62b6f9782d
commit
7618133d6d
@ -501,6 +501,11 @@ async function switchLabMode() {
|
|||||||
$('#labModeWarning').removeClass('displayNone');
|
$('#labModeWarning').removeClass('displayNone');
|
||||||
//$("#advanced-ai-config-block input[type='range']").hide()
|
//$("#advanced-ai-config-block input[type='range']").hide()
|
||||||
|
|
||||||
|
$('#amount_gen').attr('min', '1')
|
||||||
|
.attr('max', '99999')
|
||||||
|
.attr('step', '1');
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
//re apply the original sliders values to each input
|
//re apply the original sliders values to each input
|
||||||
originalSliderValues.forEach(function (slider) {
|
originalSliderValues.forEach(function (slider) {
|
||||||
@ -512,6 +517,10 @@ async function switchLabMode() {
|
|||||||
});
|
});
|
||||||
$('#advanced-ai-config-block input[type=\'range\']').show();
|
$('#advanced-ai-config-block input[type=\'range\']').show();
|
||||||
$('#labModeWarning').addClass('displayNone');
|
$('#labModeWarning').addClass('displayNone');
|
||||||
|
|
||||||
|
$('#amount_gen').attr('min', '16')
|
||||||
|
.attr('max', '2048')
|
||||||
|
.attr('step', '1');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user