Merge pull request #2232 from xinnan-tech/py_fix_index

fix: 参数修正
This commit is contained in:
hrz
2025-09-15 13:20:16 +08:00
committed by GitHub
@@ -190,7 +190,7 @@ class TTSProvider(TTSProviderBase):
start_time = time.time()
text = MarkdownCleaner.clean_markdown(text)
payload = {"text": text, "character": self.character}
payload = {"text": text, "character": self.voice}
try:
with requests.post(self.api_url, json=payload, timeout=5) as response: