refresh voices upon checkReady in openai-compatible TTS
Signed| @@ -120,7 +120,7 @@ class OpenAICompatibleTtsProvider { | |||
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | async checkReady() { | 122 | async checkReady() { |
| 123 | await this.fetchTtsVoiceObjects(); | 123 | this.voices = await this.fetchTtsVoiceObjects(); |
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | async onRefreshClick() { | 126 | async onRefreshClick() { |