Set RVC version match correctly

198fbe1a1f06f2d4d5a535a99780d7917e33c15a

erew123 <35898566+erew123@users.noreply.github.com>

Signed
1 files changed, +3 -3Showing whitespace changes
public/scripts/extensions/tts/alltalk.js+3 -3
@@ -262,13 +262,13 @@ class AllTalkTtsProvider {
262262 console.debug('AllTalkTTS: Settings loaded');
263263 try {
264264 // Check if TTS provider is ready
265+ this.setupEventListeners();
266+ this.updateLanguageDropdown();
265267 await this.checkReady();
266268 await this.updateSettingsFromServer(); // Fetch dynamic settings from the TTS server
267269 await this.fetchTtsVoiceObjects(); // Fetch voices only if service is ready
268270 await this.fetchRvcVoiceObjects(); // Fetch RVC voices
269271 this.updateNarratorVoicesDropdown();
270- this.updateLanguageDropdown();
271- this.setupEventListeners();
272272 this.applySettingsToHTML();
273273 updateStatus('Ready');
274274 } catch (error) {
@@ -388,7 +388,7 @@ class AllTalkTtsProvider {
388388 }
389389
390390 async fetchRvcVoiceObjects() {
391391 if (this.settings.server_version !== 'v1') {
392392 console.log('Skipping RVC voices fetch for V1 server');
393393 return [];
394394 }