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
775f62da1a
commit
5bbca56506
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ class TTSProvider(TTSProviderBase):
|
|||
if response.status_code == 200:
|
||||
for chunk in response.iter_content(chunk_size=None):
|
||||
if chunk:
|
||||
print(len(chunk))
|
||||
yield chunk
|
||||
else:
|
||||
print(f"请求失败,状态码: {response.status_code}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue