Changed generation presets
This commit is contained in:
parent
cb2ff2492f
commit
35f2dfbdbc
|
|
@ -50,9 +50,9 @@
|
||||||
<label>
|
<label>
|
||||||
Creativity
|
Creativity
|
||||||
<div class="gen-slider-wrap">
|
<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)">
|
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>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
|
@ -137,7 +137,7 @@
|
||||||
data-bpm="<%= g.bpm || '' %>"
|
data-bpm="<%= g.bpm || '' %>"
|
||||||
data-keyscale="<%- encodeURIComponent(g.keyscale || '') %>"
|
data-keyscale="<%- encodeURIComponent(g.keyscale || '') %>"
|
||||||
data-duration="<%= g.duration_seconds || '' %>"
|
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 %>">
|
data-seed="<%= g.seed != null ? g.seed : -1 %>">
|
||||||
<td class="muted small"><%= new Date(g.created_at).toLocaleDateString() %></td>
|
<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>
|
<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 || '';
|
durationEl.value = row.dataset.duration || '';
|
||||||
seedEl.value = row.dataset.seed || '-1';
|
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;
|
creativityEl.value = creativity;
|
||||||
if (creativityValEl) creativityValEl.textContent = parseFloat(creativity).toFixed(1);
|
if (creativityValEl) creativityValEl.textContent = parseFloat(creativity).toFixed(1);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue