mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-29 18:30:15 +01:00
Fix slider formatting
This commit is contained in:
parent
beca613745
commit
03e513a3e4
@ -441,8 +441,7 @@
|
||||
<input type="range" id="tail_free_sampling_novel" name="volume" min="0" max="1" step="0.001">
|
||||
</div>
|
||||
<div class="range-block-counter">
|
||||
<input type="number" min="0" max="1" step="0.01" data-for="tail_free_sampling_novel" id="tail_free_sampling_counter_novel">
|
||||
|
||||
<input type="number" min="0" max="1" step="0.001" data-for="tail_free_sampling_novel" id="tail_free_sampling_counter_novel">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1214,7 +1213,6 @@
|
||||
</div>
|
||||
<div class="range-block-counter">
|
||||
<input type="number" min="0" max="1" step="0.001" data-for="top_p_novel" id="top_p_counter_novel">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -268,7 +268,7 @@ const sliders = [
|
||||
{
|
||||
sliderId: "#top_p_novel",
|
||||
counterId: "#top_p_counter_novel",
|
||||
format: (val) => Number(val).toFixed(2),
|
||||
format: (val) => Number(val).toFixed(3),
|
||||
setValue: (val) => { nai_settings.top_p = Number(val).toFixed(3); },
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user