mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Added vrm tts lip sync call
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user