Swap RVC function/setting checks

8be21fc5c40d4108974598101d80359df50ca26e

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/extensions/tts/index.js+1 -1
@@ -421,7 +421,7 @@ function completeTtsJob() {
421421async function tts(text, voiceId, char) {
422422 async function processResponse(response) {
423423 // RVC injection
424424 if (extension_settings.rvc.enabled && typeof window['rvcVoiceConversion'] === 'function' && extension_settings.rvc.enabled)
425425 response = await window['rvcVoiceConversion'](response, char, text);
426426
427427 await addAudioJob(response, char);