diff --git a/ui/media/js/dnd.js b/ui/media/js/dnd.js index f38c08a3..57f05cec 100644 --- a/ui/media/js/dnd.js +++ b/ui/media/js/dnd.js @@ -59,6 +59,7 @@ const TASK_MAPPING = { guidance_scale: { name: 'Guidance Scale', setUI: (guidance_scale) => { guidanceScaleField.value = guidance_scale + updateGuidanceScaleSlider() }, readUI: () => parseFloat(guidanceScaleField.value), parse: (val) => parseFloat(val) @@ -66,6 +67,7 @@ const TASK_MAPPING = { prompt_strength: { name: 'Prompt Strength', setUI: (prompt_strength) => { promptStrengthField.value = prompt_strength + updatePromptStrengthSlider() }, readUI: () => parseFloat(promptStrengthField.value), parse: (val) => parseFloat(val)