From dd105e2dd019be0a5b559d584daff0e2337cfbdd Mon Sep 17 00:00:00 2001 From: zouap Date: Sun, 9 Oct 2022 11:29:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/aisafety.go | 4 ++-- routers/repo/cloudbrain.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/routers/repo/aisafety.go b/routers/repo/aisafety.go index 49e4d7b6a..9b7af5d6c 100644 --- a/routers/repo/aisafety.go +++ b/routers/repo/aisafety.go @@ -92,8 +92,8 @@ func GetAiSafetyTask(ctx *context.Context) { } syncAiSafetyTaskStatus(job) job, err = models.GetCloudbrainByIDWithDeleted(ID) - job.BenchmarkType = "CV" - job.BenchmarkTypeName = "图像分类" + job.BenchmarkType = "安全评测" + job.BenchmarkTypeName = "Image Classification" ctx.JSON(200, job) } diff --git a/routers/repo/cloudbrain.go b/routers/repo/cloudbrain.go index 11e632620..1752c27aa 100755 --- a/routers/repo/cloudbrain.go +++ b/routers/repo/cloudbrain.go @@ -2176,8 +2176,8 @@ func CloudBrainBenchmarkIndex(ctx *context.Context) { } } if task.JobType == string(models.JobTypeModelSafety) { - ciTasks[i].BenchmarkType = "CV" - ciTasks[i].BenchmarkTypeName = "图像分类" + ciTasks[i].BenchmarkType = "安全评测" + ciTasks[i].BenchmarkTypeName = "Image Classification" } }