diff --git a/public/scripts/extensions/tts/index.js b/public/scripts/extensions/tts/index.js index 51931aac1..35ef174f6 100644 --- a/public/scripts/extensions/tts/index.js +++ b/public/scripts/extensions/tts/index.js @@ -716,12 +716,14 @@ class VoiceMapEntry { addUI(voiceIds){ let sanitizedName = sanitizeId(this.name) + let defaultOption = this.name === DEFAULT_VOICE_MARKER ? + '' : + `` let template = `
${this.name}
` @@ -808,7 +810,7 @@ export async function initVoiceMap(){ } else if (character === DEFAULT_VOICE_MARKER) { voiceId = 'disabled' } else { - voiceId = '[Default Voice]' + voiceId = DEFAULT_VOICE_MARKER } const voiceMapEntry = new VoiceMapEntry(character, voiceId) voiceMapEntry.addUI(voiceIdsFromProvider)