From 8c65f026e65df6e8a9af87618d4e2a2418b04703 Mon Sep 17 00:00:00 2001 From: erew123 <35898566+erew123@users.noreply.github.com> Date: Tue, 9 Apr 2024 01:17:03 +0100 Subject: [PATCH] ST AllTalk FT Model changed a value for detecting FT model. --- system/st_files/alltalk.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}