Merge branch 'release' into staging

This commit is contained in:
Cohee 2023-10-23 00:27:15 +03:00
commit df85218fa7
1 changed files with 4 additions and 4 deletions

View File

@ -751,10 +751,6 @@ class VoiceMapEntry {
*
*/
export async function initVoiceMap(){
// Clear existing voiceMap state
$('#tts_voicemap_block').empty()
voiceMapEntries = []
// Gate initialization if not enabled or TTS Provider not ready. Prevents error popups.
const enabled = $('#tts_enabled').is(':checked')
if (!enabled){
@ -772,6 +768,10 @@ export async function initVoiceMap(){
setTtsStatus("TTS Provider Loaded", true)
// Clear existing voiceMap state
$('#tts_voicemap_block').empty()
voiceMapEntries = []
// Get characters in current chat
const characters = getCharacters()