fix:manager下发配置字符转数字bug

This commit is contained in:
hrz
2025-04-14 18:30:58 +08:00
parent 2bab917b3e
commit 703ecfae40
13 changed files with 72 additions and 51 deletions
@@ -19,7 +19,7 @@ class TTSProvider(TTSProviderBase):
if config.get("private_voice"):
self.voice = config.get("private_voice")
else:
self.voice = config.get("voice")
self.voice = int(config.get("voice"))
self.api_url = "https://tts.tencentcloudapi.com" # 正确的API端点
self.region = config.get("region")
self.output_file = config.get("output_dir")