fix: namespace 修正为 UnidirectionalTTS 匹配 HTTP 单向端点
This commit is contained in:
@@ -51,7 +51,7 @@ func buildRequest(opts Options) ([]byte, error) {
|
|||||||
|
|
||||||
body := requestBody{
|
body := requestBody{
|
||||||
User: ttsUser{UID: opts.UID},
|
User: ttsUser{UID: opts.UID},
|
||||||
Namespace: "BidirectionalTTS",
|
Namespace: "UnidirectionalTTS",
|
||||||
ReqParams: ttsReqParams{
|
ReqParams: ttsReqParams{
|
||||||
Text: opts.Text,
|
Text: opts.Text,
|
||||||
Speaker: opts.Speaker,
|
Speaker: opts.Speaker,
|
||||||
|
|||||||
Reference in New Issue
Block a user