流式传输

This commit is contained in:
yinsx
2025-12-25 15:36:35 +08:00
parent e56f47076c
commit 14bfdcbf51
19 changed files with 1191 additions and 65 deletions

13
test_tts.py Normal file
View File

@ -0,0 +1,13 @@
import requests
import json
url = "http://localhost:5001/text-to-blendshapes"
data = {
"text": "你好",
"language": "zh-CN"
}
print("发送测试请求...")
response = requests.post(url, json=data)
print(f"状态码: {response.status_code}")
print(f"响应: {response.json()}")