add cosyvoicetts

This commit is contained in:
0Xiao0
2024-07-29 10:24:44 +08:00
parent 5bb80d396b
commit 0315955a38
7 changed files with 142 additions and 4 deletions

View File

@ -52,6 +52,11 @@ def melotts_loader():
from .melotts import MeloTTS
return Injector().get(MeloTTS)
@model_loader(lazy=blackboxConf.lazyloading)
def cosyvoicetts_loader():
from .cosyvoicetts import CosyVoiceTTS
return Injector().get(CosyVoiceTTS)
@model_loader(lazy=blackboxConf.lazyloading)
def tts_loader():
from .tts import TTS