Correct skipping RVC on AllTalk V1 Server

Silly bug that caused the extension when used with the legacy V1 AllTalk server, would cause it to skip downloading Narrator voices.

Literally changed "v2" to "v1" on line 391

No other changes.
This commit is contained in:
erew123
2025-01-07 23:20:53 +00:00
committed by GitHub
parent 446a9adcf1
commit de8ecc6903

View File

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