Zen Sliders: Add off values for dynatemp and smoothing factor

Off for dynatemp is 1.0, smoothing factor is 0.0

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2024-02-11 01:32:32 -05:00
parent cbea5bf996
commit 6e10c43c63

View File

@ -682,6 +682,7 @@ async function CreateZenSliders(elmnt) {
sliderID == 'top_k_textgenerationwebui' || sliderID == 'top_k_textgenerationwebui' ||
sliderID == 'top_k' || sliderID == 'top_k' ||
sliderID == 'rep_pen_slope' || sliderID == 'rep_pen_slope' ||
sliderID == 'smoothing_factor_textgenerationwebui' ||
sliderID == 'min_length_textgenerationwebui') { sliderID == 'min_length_textgenerationwebui') {
offVal = 0; offVal = 0;
} }
@ -696,6 +697,9 @@ async function CreateZenSliders(elmnt) {
sliderID == 'encoder_rep_pen_textgenerationwebui' || sliderID == 'encoder_rep_pen_textgenerationwebui' ||
sliderID == 'temp_textgenerationwebui' || sliderID == 'temp_textgenerationwebui' ||
sliderID == 'temp' || sliderID == 'temp' ||
sliderID == 'min_temp_textgenerationwebui' ||
sliderID == 'max_temp_textgenerationwebui' ||
sliderID == 'dynatemp_exponent_textgenerationwebui' ||
sliderID == 'guidance_scale_textgenerationwebui' || sliderID == 'guidance_scale_textgenerationwebui' ||
sliderID == 'guidance_scale') { sliderID == 'guidance_scale') {
offVal = 1; offVal = 1;