Added vrm tts lip sync call
This commit is contained in:
parent
4414de9087
commit
017ac8a515
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue