1. support voice preview

2, update version to 1.1.6
This commit is contained in:
harry
2024-05-13 18:29:59 +08:00
parent fb3aadeccc
commit 6de3d6eedc
7 changed files with 46 additions and 5 deletions

View File

@@ -1035,6 +1035,7 @@ def tts(text: str, voice_name: str, voice_file: str) -> [SubMaker, None]:
def azure_tts_v1(text: str, voice_name: str, voice_file: str) -> [SubMaker, None]:
voice_name = parse_voice_name(voice_name)
text = text.strip()
for i in range(3):
try: