update dict download instruction
This commit is contained in:
parent
16a2ab586a
commit
bf0adf0afc
|
@ -235,7 +235,7 @@ func readLines2StringSlice(filepath string) []string {
|
||||||
if !isPathExist(f) {
|
if !isPathExist(f) {
|
||||||
err := downloadFile(f, filepath)
|
err := downloadFile(f, filepath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("download ppocr key file error!")
|
log.Println("download ppocr key file error! You can specify your local dict path by conf.yaml.")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue