chore: get ws
This commit is contained in:
@@ -64,9 +64,6 @@ func expandImageToTemp(srcPath string, ratio float64) (string, error) {
|
||||
|
||||
func saveFaceppTrainImage(srcPath string) (string, error) {
|
||||
saveDir := utils.GetConfigString("facepp.train_image_path")
|
||||
if saveDir == utils.StringEmpty {
|
||||
saveDir = "/data/facepp/train/images"
|
||||
}
|
||||
if err := os.MkdirAll(saveDir, os.ModePerm); err != nil {
|
||||
return utils.StringEmpty, err
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"lone-services/pkg/redis"
|
||||
"lone-services/pkg/utils"
|
||||
pkgws "lone-services/pkg/ws"
|
||||
"lone-services/rpc/percutaneous/pb"
|
||||
percutaneous "lone-services/rpc/percutaneous/pb"
|
||||
"lone-services/services/percutaneous/internal/dao"
|
||||
"lone-services/services/percutaneous/internal/svc"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user