diff --git a/routers/repo/aisafety.go b/routers/repo/aisafety.go index 1eaa2669f..96c1b9b61 100644 --- a/routers/repo/aisafety.go +++ b/routers/repo/aisafety.go @@ -568,7 +568,7 @@ func AiSafetyCreateForGetNPU(ctx *context.Context) { ctx.Data["PageIsCloudBrain"] = true ctx.Data["IsCreate"] = true ctx.Data["type"] = models.TypeCloudBrainTwo - ctx.Data["compute_resource"] = models.GPUResource + ctx.Data["compute_resource"] = models.NPUResource var displayJobName = jobNamePrefixValid(cutString(ctx.User.Name, 5)) + t.Format("2006010215") + strconv.Itoa(int(t.Unix()))[5:] ctx.Data["display_job_name"] = displayJobName ctx.Data["datasetType"] = models.TypeCloudBrainTwo