add edge-tts

This commit is contained in:
Lecter
2024-03-04 00:14:19 +08:00
parent 74ebbdd761
commit 3a20461abf
4 changed files with 56 additions and 1 deletions

View File

@@ -42,4 +42,8 @@ def create_voice(voice_type):
from voice.ali.ali_voice import AliVoice
return AliVoice()
elif voice_type == "edge":
from voice.edge.edge_voice import EdgeVoice
return EdgeVoice()
raise RuntimeError