zhtts icon indicating copy to clipboard operation
zhtts copied to clipboard

Failed writing body (0 != 16384)

Open Johnson-yue opened this issue 3 years ago • 1 comments

你好,谢谢你的分享, 我可以按照Usage 运行并生成语音文件。 但是当我尝试运行web api 的时候,返回的结果有问题,我对web不了解,不知道怎么解决

Client: image

Server: image

可以看得出来,server那边已经生成完了,但是返回可能有点问题吧

Johnson-yue avatar Dec 01 '20 14:12 Johnson-yue

换成这个试一下,指定输出到hello.wav音频,text后面跟的是"你好世界"的url编码

curl -o "hello.wav" "http://localhost:5000/api/tts?text=%E4%BD%A0%E5%A5%BD%E4%B8%96%E7%95%8C"

lesswrongzh avatar Dec 01 '20 14:12 lesswrongzh