mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
add
This commit is contained in:
parent
40669fe59a
commit
634e3c7625
1 changed files with 2 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ class TTSProvider(TTSProviderBase):
|
||||||
"question": question,
|
"question": question,
|
||||||
"device_id": device_id,
|
"device_id": device_id,
|
||||||
"instruct_text": self.instruct_text,
|
"instruct_text": self.instruct_text,
|
||||||
"audio_format": 'opus'
|
"audio_format": 'opus',
|
||||||
|
"spk_id":self.voice
|
||||||
}
|
}
|
||||||
headers = {
|
headers = {
|
||||||
"Authorization": f"Bearer {self.access_token}",
|
"Authorization": f"Bearer {self.access_token}",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue