Change check from ! not to is == V2

This commit is contained in:
erew123
2025-01-08 00:01:36 +00:00
committed by GitHub
parent de8ecc6903
commit 5ea8309a30

View File

@ -388,7 +388,7 @@ class AllTalkTtsProvider {
}
async fetchRvcVoiceObjects() {
if (this.settings.server_version !== 'v1') {
if (this.settings.server_version == 'v2') {
console.log('Skipping RVC voices fetch for V1 server');
return [];
}