This commit is contained in:
YaoyaoChang
2025-12-04 22:33:57 -08:00
parent adc08b1575
commit 7ea24a4fb9
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -351,12 +351,12 @@
<div class="control-row">
<label class="range-control">
<span>CFG</span>
<input id="cfgScale" type="range" min="1" max="3" step="0.05" value="1.5" />
<input id="cfgScale" type="range" min="1.3" max="3" step="0.05" value="1.5" />
<span class="range-value" id="cfgValue">1.5</span>
</label>
<label class="range-control">
<span>Inference Steps</span>
<input id="inferenceSteps" type="range" min="1" max="20" step="1" value="5" />
<input id="inferenceSteps" type="range" min="5" max="20" step="1" value="5" />
<span class="range-value" id="stepsValue">5</span>
</label>
<button id="resetControls" type="button" class="secondary-btn">Reset Controls</button>
@@ -482,7 +482,7 @@
};
const updateCfgDisplay = () => {
cfgValueLabel.textContent = Number(cfgSelect.value).toFixed(3);
cfgValueLabel.textContent = Number(cfgSelect.value).toFixed(2);
};
const updateStepsDisplay = () => {