diff --git a/src/ts/process/tts.ts b/src/ts/process/tts.ts index b7718bab..eb973132 100644 --- a/src/ts/process/tts.ts +++ b/src/ts/process/tts.ts @@ -150,7 +150,6 @@ export async function sayTTS(character:character,text:string) { case 'novelai': { const audioContext = new AudioContext(); if(text === ''){ - alertError(language.errors.emptyText); break; } const response = await globalFetch(`https://api.novelai.net/ai/generate-voice?text=${text}&voice=-1&seed=${character.naittsConfig.voice}&opus=false&version=${character.naittsConfig.version}`, {