Fix sayTTS missing break in gptsovits case

This commit is contained in:
poroyo
2024-12-27 04:00:19 +09:00
parent c5f5786af7
commit 823541af40

View File

@@ -309,6 +309,7 @@ export async function sayTTS(character:character,text:string) {
const text = Buffer.from(textBuffer).toString('utf-8') const text = Buffer.from(textBuffer).toString('utf-8')
throw new Error(text); throw new Error(text);
} }
break;
} }
case 'fishspeech':{ case 'fishspeech':{
if (character.fishSpeechConfig.model._id === ''){ if (character.fishSpeechConfig.model._id === ''){