diff --git a/system/st_files/alltalk.js b/system/st_files/alltalk.js index f70daf5..12793e5 100644 --- a/system/st_files/alltalk.js +++ b/system/st_files/alltalk.js @@ -281,7 +281,7 @@ class AllTalkTtsProvider { if (narratorVoiceSelect) narratorVoiceSelect.disabled = !this.settings.narrator_enabled; } const modelSelect = document.getElementById('switch_model'); - if (this.settings.finetuned_model === 'true') { + if (this.settings.finetuned_model === true) { const ftOption = document.createElement('option'); ftOption.value = 'XTTSv2 FT'; ftOption.textContent = 'XTTSv2 FT'; @@ -830,4 +830,4 @@ function updateStatus(message) { break; } } -} \ No newline at end of file +}