mirror of
https://github.com/linyqh/NarratoAI.git
synced 2025-12-13 04:02:49 +00:00
新增 en-US TTS
This commit is contained in:
parent
adc68de301
commit
fb8021c30e
@ -22,7 +22,7 @@ def render_audio_panel(tr):
|
|||||||
def render_tts_settings(tr):
|
def render_tts_settings(tr):
|
||||||
"""渲染TTS(文本转语音)设置"""
|
"""渲染TTS(文本转语音)设置"""
|
||||||
# 获取支持的语音列表
|
# 获取支持的语音列表
|
||||||
support_locales = ["zh-CN"]
|
support_locales = ["zh-CN", "en-US"]
|
||||||
voices = voice.get_all_azure_voices(filter_locals=support_locales)
|
voices = voice.get_all_azure_voices(filter_locals=support_locales)
|
||||||
|
|
||||||
# 创建友好的显示名称
|
# 创建友好的显示名称
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user