Skip to content

Commit

Permalink
update edge-tts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kedreamix committed Jun 18, 2024
1 parent 6a90040 commit ba25d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TTS/EdgeTTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(self, list_voices = False, proxy = None) -> None:
print(", ".join(self.SUPPORTED_VOICE))
self.network = True
except:
print("网络无法连接,无法获取语音列表,可能Edge模式会出错,建议使用其他TTS方法")
# print("网络无法连接,无法获取语音列表,可能Edge模式会出错,建议使用其他TTS方法")
self.network = False
self.SUPPORTED_VOICE = ['zu-ZA-ThembaNeural', 'zu-ZA-ThandoNeural', 'zh-TW-YunJheNeural', 'zh-TW-HsiaoYuNeural', 'zh-TW-HsiaoChenNeural', 'zh-HK-WanLungNeural',
'zh-HK-HiuMaanNeural', 'zh-HK-HiuGaaiNeural', 'zh-CN-shaanxi-XiaoniNeural', 'zh-CN-liaoning-XiaobeiNeural',
Expand Down

0 comments on commit ba25d6e

Please sign in to comment.