Replace Comfy YuE with standalone YuEGP profile 1
This commit is contained in:
@@ -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) })
|
||||
|
||||
Reference in New Issue
Block a user