Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
cyjaysong committed Dec 16, 2020
2 parents e8a4ffe + 0084f9c commit f7c8ecf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
- [x] 人脸对比
- [ ] 人脸查找
- [ ] 人脸库管理
- [ ] 公安验证
- [x] 公安身份验证

#### 图像审核
- [ ] 图像审核
Expand Down
1 change: 0 additions & 1 deletion voice/asr.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"errors"
"io"
"io/ioutil"

"net"

"github.com/imroc/req"
Expand Down
6 changes: 2 additions & 4 deletions voice/tts.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,18 @@
package voice

import (
"encoding/json"
"errors"

"io/ioutil"

"net"

"encoding/json"
"github.com/imroc/req"
)

const TTS_URL = "http://tsn.baidu.com/text2audio"

var (
ErrTextTooLong = errors.New("The input string is too long")
ErrTextTooLong = errors.New("the input string is too long")
)

type TTSParams struct {
Expand Down

0 comments on commit f7c8ecf

Please sign in to comment.