Changed generation presets

This commit is contained in:
Brian Fertig 2026-04-22 19:32:00 -06:00
parent cb2ff2492f
commit 35f2dfbdbc
1 changed files with 4 additions and 4 deletions

View File

@ -50,9 +50,9 @@
<label>
Creativity
<div class="gen-slider-wrap">
<input type="range" id="gen-creativity" min="3" max="7" step="0.5" value="3.5"
<input type="range" id="gen-creativity" min="1" max="4" step="0.1" value="2.0"
oninput="document.getElementById('gen-creativity-val').textContent = parseFloat(this.value).toFixed(1)">
<span id="gen-creativity-val" class="gen-slider-val">3.5</span>
<span id="gen-creativity-val" class="gen-slider-val">2.0</span>
</div>
</label>
@ -137,7 +137,7 @@
data-bpm="<%= g.bpm || '' %>"
data-keyscale="<%- encodeURIComponent(g.keyscale || '') %>"
data-duration="<%= g.duration_seconds || '' %>"
data-creativity="<%= g.creativity != null ? g.creativity : 3.5 %>"
data-creativity="<%= g.creativity != null ? g.creativity : 2.0 %>"
data-seed="<%= g.seed != null ? g.seed : -1 %>">
<td class="muted small"><%= new Date(g.created_at).toLocaleDateString() %></td>
<td class="gen-prompt-cell"><%= (g.style_prompt || '—').slice(0, 60) %><% if ((g.style_prompt || '').length > 60) { %>…<% } %></td>
@ -441,7 +441,7 @@
durationEl.value = row.dataset.duration || '';
seedEl.value = row.dataset.seed || '-1';
var creativity = row.dataset.creativity != null ? row.dataset.creativity : '3.5';
var creativity = row.dataset.creativity != null ? row.dataset.creativity : '2.0';
creativityEl.value = creativity;
if (creativityValEl) creativityValEl.textContent = parseFloat(creativity).toFixed(1);