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
bf484bf0f7
commit
b855979042
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class TTSProvider(TTSProviderBase):
|
|||
code = []
|
||||
with open(audio_file_path,encoding='utf-8') as f:
|
||||
for line in f.readlines():
|
||||
code.append(json.dumps(line))
|
||||
code.append(json.loads(line))
|
||||
params = code[0]
|
||||
headers = code[1]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue