|
|
|
@@ -743,7 +743,10 @@ func cloudBrainShow(ctx *context.Context, tpName base.TplName, jobType models.Jo |
|
|
|
} else { |
|
|
|
task, err = models.GetCloudbrainByIDWithDeleted(ctx.Params(":id")) |
|
|
|
} |
|
|
|
|
|
|
|
if task.JobType == string(models.JobTypeModelSafety) { |
|
|
|
GetAiSafetyTaskTmpl(ctx) |
|
|
|
return |
|
|
|
} |
|
|
|
if err != nil { |
|
|
|
log.Info("error:" + err.Error()) |
|
|
|
ctx.NotFound(ctx.Req.URL.RequestURI(), nil) |
|
|
|
|