feat(config): 添加webvoice配置支持多TTS提供商和优化播客生成流程

新增webvoice.json配置文件,包含大量语音选项,更新TTS适配器以支持多提供商配置,改进播客生成流程中的错误处理和重试机制,优化UI组件以支持新的语音选择功能
This commit is contained in:
hex2077
2025-10-19 17:16:36 +08:00
parent ff88049afd
commit 321e3cded4
11 changed files with 2736 additions and 368 deletions

View File

@@ -86,6 +86,7 @@ audio_file_mapping: Dict[str, Dict] = {}
SECRET_KEY = os.getenv("PODCAST_API_SECRET_KEY", "your-super-secret-key") # 在生产环境中请务必修改!
# 定义从 tts_provider 名称到其配置文件路径的映射
tts_provider_map = {
"webvoice": "../config/webvoice.json",
"index-tts": "../config/index-tts.json",
"doubao-tts": "../config/doubao-tts.json",
"edge-tts": "../config/edge-tts.json",