mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
fix: 参数修正
This commit is contained in:
parent
3e54a3272a
commit
c6a7871e5b
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue