mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Change all TTS providers loading to async
This commit is contained in:
@ -71,7 +71,7 @@ class NovelTtsProvider {
|
||||
})
|
||||
}
|
||||
|
||||
loadSettings(settings) {
|
||||
async loadSettings(settings) {
|
||||
// Populate Provider UI given input settings
|
||||
if (Object.keys(settings).length == 0) {
|
||||
console.info("Using default TTS Provider settings")
|
||||
@ -91,7 +91,7 @@ class NovelTtsProvider {
|
||||
}
|
||||
|
||||
this.populateCustomVoices()
|
||||
this.checkReady()
|
||||
await this.checkReady()
|
||||
console.info("Settings loaded")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user