Merge pull request #1875 from kalomaze/cubic-curve

smoothing_curve UI support
This commit is contained in:
Cohee
2024-03-17 02:20:51 +02:00
committed by GitHub
3 changed files with 22 additions and 5 deletions

View File

@ -629,6 +629,7 @@ async function CreateZenSliders(elmnt) {
if (sliderID == 'min_temp_textgenerationwebui' ||
sliderID == 'max_temp_textgenerationwebui' ||
sliderID == 'dynatemp_exponent_textgenerationwebui' ||
sliderID == 'smoothing_curve_textgenerationwebui' ||
sliderID == 'smoothing_factor_textgenerationwebui') {
decimals = 2;
}
@ -689,6 +690,7 @@ async function CreateZenSliders(elmnt) {
sliderID == 'top_k' ||
sliderID == 'rep_pen_slope' ||
sliderID == 'smoothing_factor_textgenerationwebui' ||
sliderID == 'smoothing_curve_textgenerationwebui' ||
sliderID == 'min_length_textgenerationwebui') {
offVal = 0;
}