feat: docker(cpu), 1:n bert:vits2 support

This commit is contained in:
Googlefan
2024-09-11 03:19:08 +00:00
parent 70059fc040
commit 7d191ca37d
10 changed files with 129 additions and 34 deletions

View File

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