Replace Comfy YuE with standalone YuEGP profile 1

This commit is contained in:
Towsty
2026-09-07 20:24:47 -05:00
parent eeff12cdab
commit c2b6032e49
33 changed files with 976 additions and 294 deletions
+4 -2
View File
@@ -284,6 +284,7 @@ export function clipSettingsRows(clip: {
}
export function trackSettingsRows(track: {
yueProfile?: 1 | 3
tags?: string
lyrics?: string
duration?: number
@@ -310,8 +311,9 @@ export function trackSettingsRows(track: {
const rounded = Math.round(track.duration * 10) / 10
rows.push({ label: 'Duration', value: Number.isInteger(rounded) ? `${rounded}s` : `${rounded.toFixed(1)}s` })
}
if (track.steps != null) rows.push({ label: 'Steps', value: String(track.steps) })
if (track.cfg != null) rows.push({ label: 'CFG', value: formatNum(track.cfg) })
if (track.yueProfile != null) rows.push({ label: 'YuEGP profile', value: String(track.yueProfile) })
if (track.yueProfile == null && track.steps != null) rows.push({ label: 'Steps', value: String(track.steps) })
if (track.yueProfile == null && track.cfg != null) rows.push({ label: 'CFG', value: formatNum(track.cfg) })
if (track.samplerName) rows.push({ label: 'Sampler', value: track.samplerName })
if (track.scheduler) rows.push({ label: 'Scheduler', value: track.scheduler })
if (track.lyricsStrength != null) rows.push({ label: 'Lyric strength', value: formatNum(track.lyricsStrength) })