mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
update checkReady. add voiceMap ui select
This commit is contained in:
@ -69,17 +69,7 @@ class SileroTtsProvider {
|
||||
|
||||
// Perform a simple readiness check by trying to fetch voiceIds
|
||||
async checkReady(){
|
||||
try {
|
||||
if (!modules.includes('silero-tts')){
|
||||
this.ready = false
|
||||
return
|
||||
}
|
||||
await this.fetchTtsVoiceIds()
|
||||
this.ready = true
|
||||
|
||||
} catch {
|
||||
this.ready = false
|
||||
}
|
||||
await this.fetchTtsVoiceIds()
|
||||
}
|
||||
|
||||
async onApplyClick() {
|
||||
|
Reference in New Issue
Block a user