feat: remove voice filter

This commit is contained in:
harry
2025-05-08 18:09:26 +08:00
parent 5d0ffdad8a
commit 35a7ef657a
2 changed files with 1 additions and 3 deletions

View File

@@ -16,8 +16,6 @@ from app.utils import utils
def get_all_azure_voices(filter_locals=None) -> list[str]:
if filter_locals is None:
filter_locals = ["zh-CN", "en-US", "zh-HK", "zh-TW", "vi-VN"]
voices_str = """
Name: af-ZA-AdriNeural
Gender: Female

View File

@@ -618,7 +618,7 @@ with middle_panel:
# tts_providers = ['edge', 'azure']
# tts_provider = st.selectbox(tr("TTS Provider"), tts_providers)
voices = voice.get_all_azure_voices(filter_locals=support_locales)
voices = voice.get_all_azure_voices(filter_locals=None)
friendly_names = {
v: v.replace("Female", tr("Female"))
.replace("Male", tr("Male"))