|
|
|
@@ -544,6 +544,9 @@ func cloudBrainShow(ctx *context.Context, tpName base.TplName, jobType models.Jo |
|
|
|
task.BenchmarkType = ctx.Tr("repo.cloudbrain.benchmark.model") |
|
|
|
task.BenchmarkTypeName = task.JobType |
|
|
|
ctx.Data["BenchmarkTypeName"] = task.JobType |
|
|
|
if task.JobType == string(models.JobTypeBrainScore) { |
|
|
|
ctx.Data["BenchmarkChildTypeName"] = getBrainRegion(task.BenchmarkChildTypeID) |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|