Merge branch 'ouoertheo/tts-ui-voicemap' of https://github.com/ouoertheo/SillyTavern into ouoertheo/tts-ui-voicemap

This commit is contained in:
Cohee 2023-08-28 21:58:49 +03:00
commit 5acb7402b9
1 changed files with 1 additions and 1 deletions

View File

@ -683,7 +683,7 @@ function updateVoiceMap() {
voiceMap = tempVoiceMap
console.log(`Voicemap updated to ${JSON.stringify(voiceMap)}`)
}
extension_settings.tts[ttsProviderName].voiceMap = voiceMap
Object.assign(extension_settings.tts[ttsProviderName].voiceMap, voiceMap)
saveSettingsDebounced()
}