This commit is contained in:
tuna2134
2024-09-10 11:37:30 +00:00
parent 28b57ce8b3
commit 7661982b20
3 changed files with 24 additions and 17 deletions

View File

@@ -2,7 +2,7 @@ import requests
res = requests.post('http://localhost:3000/synthesize', json={
"text": "おはよう"
"text": "おはようございます"
})
with open('output.wav', 'wb') as f:
f.write(res.content)