mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-29 02:10:11 +01:00
Clean comments
This commit is contained in:
parent
09a413559f
commit
b741f32ae9
@ -321,10 +321,12 @@ async function playAudioData(audioJob) {
|
||||
}
|
||||
if (audioBlob instanceof Blob) {
|
||||
const srcUrl = await getBase64Async(audioBlob);
|
||||
// VRM inject
|
||||
|
||||
// VRM lip sync
|
||||
if (extension_settings.vrm.enabled && typeof window['vrmLipSync'] === 'function') {
|
||||
await window['vrmLipSync'](audioBlob, audioJob["char"]);
|
||||
}
|
||||
|
||||
audioElement.src = srcUrl;
|
||||
} else if (typeof audioBlob === 'string') {
|
||||
audioElement.src = audioBlob;
|
||||
@ -481,11 +483,6 @@ 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, char);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user