Skip to content

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

feat: remove voice filter

harry35a7ef657a92
diff --git a/app/services/voice.py b/app/services/voice.py
index 9c241d04..4cc7327a 100644
--- a/app/services/voice.py
+++ b/app/services/voice.py
@@ -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
diff --git a/webui/Main.py b/webui/Main.py
index 22be7abf..0ff0b022 100644
--- a/webui/Main.py
+++ b/webui/Main.py
@@ -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"))