Merge branch 'staging' into CosyVoice

This commit is contained in:
Cohee
2024-09-27 20:26:32 +03:00
243 changed files with 10876 additions and 5957 deletions

View File

@@ -423,7 +423,7 @@ function completeTtsJob() {
async function tts(text, voiceId, char) {
async function processResponse(response) {
// RVC injection
if (extension_settings.rvc.enabled && typeof window['rvcVoiceConversion'] === 'function')
if (typeof window['rvcVoiceConversion'] === 'function' && extension_settings.rvc.enabled)
response = await window['rvcVoiceConversion'](response, char, text);
await addAudioJob(response, char);