mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
commit
3bdf8e20c7
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