Browse Source

提交代码,解决下载日志问题。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.10.1^2
zouap 2 years ago
parent
commit
562cd524ce
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      routers/api/v1/repo/cloudbrain.go

+ 4
- 2
routers/api/v1/repo/cloudbrain.go View File

@@ -496,8 +496,10 @@ func CloudbrainDownloadLogFile(ctx *context.Context) {
return
}
if job.JobType == string(models.JobTypeModelSafety) {
ModelSafetyDownloadLogFile(ctx)
return
if job.Type == models.TypeCloudBrainTwo {
ModelSafetyDownloadLogFile(ctx)
return
}
}

logDir := "/model"


Loading…
Cancel
Save