File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
example/paraformer/realtime Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ linters:
29
29
- nolintlint # see https://github.com/golangci/golangci-lint/issues/3228.
30
30
- depguard # disabling temporarily
31
31
- ireturn # disabling temporarily
32
+ - copyloopvar
32
33
33
34
linters-settings :
34
35
funlen :
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ func main() {
36
36
payload := paraformer.PayloadIn {
37
37
Parameters : paraformer.Parameters {
38
38
// seems like only support 16000 sample-rate.
39
- SampleRate : 16000 ,
40
- Format : "pcm" ,
39
+ SampleRate : 16000 ,
40
+ Format : "pcm" ,
41
41
DisfluencyRemovalEnabled : true ,
42
- LanguageHints : []string {"zh" , "en" },
42
+ LanguageHints : []string {"zh" , "en" },
43
43
},
44
44
Input : map [string ]interface {}{},
45
45
Task : "asr" ,
You can’t perform that action at this time.
0 commit comments