|
|
|
@@ -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) |
|
|
|
} |
|
|
|
|
|
|
|
|