mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
elevenlabs connect button
This commit is contained in:
@ -66,12 +66,11 @@ class ElevenLabsTtsProvider {
|
|||||||
throw `Invalid setting passed to TTS Provider: ${key}`
|
throw `Invalid setting passed to TTS Provider: ${key}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#elevenlabs_tts_stability').val(this.settings.stability)
|
$('#elevenlabs_tts_stability').val(this.settings.stability)
|
||||||
$('#elevenlabs_tts_similarity_boost').val(this.settings.similarity_boost)
|
$('#elevenlabs_tts_similarity_boost').val(this.settings.similarity_boost)
|
||||||
$('#elevenlabs_tts_api_key').val(this.settings.apiKey)
|
$('#elevenlabs_tts_api_key').val(this.settings.apiKey)
|
||||||
$('#tts_auto_generation').prop('checked', this.settings.multilingual)
|
$('#tts_auto_generation').prop('checked', this.settings.multilingual)
|
||||||
$('#eleven_labs_connect').on('click',this.onConnectClick)
|
$('#eleven_labs_connect').on('click', () => {this.onConnectClick()})
|
||||||
$('#elevenlabs_tts_settings').on('input',this.onSettingsChange)
|
$('#elevenlabs_tts_settings').on('input',this.onSettingsChange)
|
||||||
|
|
||||||
this.checkReady()
|
this.checkReady()
|
||||||
|
Reference in New Issue
Block a user