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" } }