Swap RVC function/setting checks
| @@ -421,7 +421,7 @@ function completeTtsJob() { | ||
| 421 | 421 | async function tts(text, voiceId, char) { |
| 422 | 422 | async function processResponse(response) { |
| 423 | 423 | // RVC injection |
| 424 | 424 | if (extension_settings.rvc.enabled && typeof window['rvcVoiceConversion'] === 'function' && extension_settings.rvc.enabled) |
| 425 | 425 | response = await window['rvcVoiceConversion'](response, char, text); |
| 426 | 426 | |
| 427 | 427 | await addAudioJob(response, char); |