From 6e10c43c63b5f8a38e774d6de4b87995b4d096f9 Mon Sep 17 00:00:00 2001 From: kingbri Date: Sun, 11 Feb 2024 01:32:32 -0500 Subject: [PATCH] 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 --- public/scripts/power-user.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index a611642fd..052b05843 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -682,6 +682,7 @@ async function CreateZenSliders(elmnt) { sliderID == 'top_k_textgenerationwebui' || sliderID == 'top_k' || sliderID == 'rep_pen_slope' || + sliderID == 'smoothing_factor_textgenerationwebui' || sliderID == 'min_length_textgenerationwebui') { offVal = 0; } @@ -696,6 +697,9 @@ async function CreateZenSliders(elmnt) { sliderID == 'encoder_rep_pen_textgenerationwebui' || sliderID == 'temp_textgenerationwebui' || sliderID == 'temp' || + sliderID == 'min_temp_textgenerationwebui' || + sliderID == 'max_temp_textgenerationwebui' || + sliderID == 'dynatemp_exponent_textgenerationwebui' || sliderID == 'guidance_scale_textgenerationwebui' || sliderID == 'guidance_scale') { offVal = 1;