Added vrm tts lip sync call

This commit is contained in:
Tony Ribeiro 2024-01-14 04:26:06 +01:00
parent 4414de9087
commit 017ac8a515
1 changed files with 4 additions and 0 deletions

View File

@ -474,6 +474,10 @@ async function tts(text, voiceId, char) {
if (extension_settings.rvc.enabled && typeof window['rvcVoiceConversion'] === 'function')
response = await window['rvcVoiceConversion'](response, char, text);
// VRM injection
if (extension_settings.vrm.enabled && typeof window['vrmLipSync'] === 'function')
await window['vrmLipSync'](response, char);
await addAudioJob(response);
}