mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-03 12:47:35 +01:00
Merge branch 'release' into staging
This commit is contained in:
commit
df85218fa7
@ -751,10 +751,6 @@ class VoiceMapEntry {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
export async function initVoiceMap(){
|
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.
|
// Gate initialization if not enabled or TTS Provider not ready. Prevents error popups.
|
||||||
const enabled = $('#tts_enabled').is(':checked')
|
const enabled = $('#tts_enabled').is(':checked')
|
||||||
if (!enabled){
|
if (!enabled){
|
||||||
@ -772,6 +768,10 @@ export async function initVoiceMap(){
|
|||||||
|
|
||||||
setTtsStatus("TTS Provider Loaded", true)
|
setTtsStatus("TTS Provider Loaded", true)
|
||||||
|
|
||||||
|
// Clear existing voiceMap state
|
||||||
|
$('#tts_voicemap_block').empty()
|
||||||
|
voiceMapEntries = []
|
||||||
|
|
||||||
// Get characters in current chat
|
// Get characters in current chat
|
||||||
const characters = getCharacters()
|
const characters = getCharacters()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user