hsun 1 year ago
parent
commit
0cb6723345
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/tecent_asr.go

+ 1 - 1
services/tecent_asr.go

@@ -37,7 +37,7 @@ func TencentCreateRecTask(req TencentRecTaskReq) (taskId int, err error) {
 	// 实例化一个请求对象, 具体参数看文档https://cloud.tencent.com/document/product/1093/37823
 	request := asr.NewCreateRecTaskRequest()
 	request.EngineModelType = common.StringPtr("16k_zh")
-	request.ChannelNum = common.Uint64Ptr(2)
+	request.ChannelNum = common.Uint64Ptr(1)
 	request.ResTextFormat = common.Uint64Ptr(2)
 	request.SourceType = common.Uint64Ptr(0)
 	request.Url = common.StringPtr(req.FileUrl)