From 5281bb9b5941945fa333c48a82e9c9ef81c85c8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=82=A6?= Date: Sun, 8 Sep 2024 15:23:48 +0800 Subject: [PATCH] Update index.js --- public/scripts/extensions/tts/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/scripts/extensions/tts/index.js b/public/scripts/extensions/tts/index.js index 9b4ce71ea..6364fa6f9 100644 --- a/public/scripts/extensions/tts/index.js +++ b/public/scripts/extensions/tts/index.js @@ -15,6 +15,7 @@ import { VITSTtsProvider } from './vits.js'; import { GSVITtsProvider } from './gsvi.js'; import { SBVits2TtsProvider } from './sbvits2.js'; import { AllTalkTtsProvider } from './alltalk.js'; +import { CosyVoiceProvider } from './cosyvoice.js'; import { SpeechT5TtsProvider } from './speecht5.js'; import { AzureTtsProvider } from './azure.js'; import { SlashCommandParser } from '../../slash-commands/SlashCommandParser.js'; @@ -98,6 +99,7 @@ const ttsProviders = { System: SystemTtsProvider, VITS: VITSTtsProvider, XTTSv2: XTTSTtsProvider, + CosyVoice: CosyVoiceProvider, }; let ttsProvider; let ttsProviderName;