mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-31 03:27:44 +01:00
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…
x
Reference in New Issue
Block a user