feat/frontend-phase1 #1

Merged
stwhite merged 34 commits from feat/frontend-phase1 into main 2025-08-14 15:44:25 +00:00
1 changed files with 4 additions and 0 deletions
Showing only changes of commit b37aa56fa6 - Show all commits

View File

@ -564,6 +564,10 @@ async function initializeDialogEditor() {
if (item.type === 'speech') {
cleanItem.speaker_id = item.speaker_id;
cleanItem.text = item.text;
// Include TTS parameters if they exist (will use defaults if not present)
if (item.exaggeration !== undefined) cleanItem.exaggeration = item.exaggeration;
if (item.cfg_weight !== undefined) cleanItem.cfg_weight = item.cfg_weight;
if (item.temperature !== undefined) cleanItem.temperature = item.temperature;
} else if (item.type === 'silence') {
cleanItem.duration = item.duration;
}