Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.1
zouap 3 years ago
parent
commit
1ddd4dbdf4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/ai_model_convert.go

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

@@ -622,7 +622,7 @@ func ModelConvertDownloadModel(ctx *context.Context) {
AllDownload := ctx.QueryBool("AllDownload")
if AllDownload {
if job.IsGpuTrainTask() {
path := setting.CBCodePathPrefix + job.ID + "/model"
path := setting.CBCodePathPrefix + job.ID + "/model/"
allFile, err := storage.GetAllObjectByBucketAndPrefixMinio(setting.Attachment.Minio.Bucket, path)
if err == nil {
returnFileName := job.Name + ".zip"


Loading…
Cancel
Save