Fix sayTTS missing break in gptsovits case
This commit is contained in:
@@ -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 === ''){
|
||||||
|
|||||||
Reference in New Issue
Block a user