mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
commit
3bdf8e20c7
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ class TTSProvider(TTSProviderBase):
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
text = MarkdownCleaner.clean_markdown(text)
|
text = MarkdownCleaner.clean_markdown(text)
|
||||||
|
|
||||||
payload = {"text": text, "character": self.character}
|
payload = {"text": text, "character": self.voice}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with requests.post(self.api_url, json=payload, timeout=5) as response:
|
with requests.post(self.api_url, json=payload, timeout=5) as response:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue