ST AllTalk FT Model

changed a value for detecting FT model.
This commit is contained in:
erew123 authored and GitHub committed 2024-04-09 01:17:03 +01:00
1 parent fff01107c8
commit 8c65f026e6
1 file changed
+2 -2
+2 -2
View File
@@ -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;
}
}
}
}