Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.9.2^2
zouap 3 years ago
parent
commit
993f3fb057
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/ai_model_manage.go

+ 1
- 1
routers/repo/ai_model_manage.go View File

@@ -159,7 +159,7 @@ func asyncToCopyModel(aiTask *models.Cloudbrain, id string, modelSelectedFile st
} }


func updateStatus(id string, modelSize int64, status int, modelPath string) { func updateStatus(id string, modelSize int64, status int, modelPath string) {
err := models.ModifyModelStatus(id, modelSize, STATUS_FINISHED, modelPath)
err := models.ModifyModelStatus(id, modelSize, status, modelPath)
if err != nil { if err != nil {
log.Info("update status error." + err.Error()) log.Info("update status error." + err.Error())
} }


Loading…
Cancel
Save