From edccdae6a6135f825b613a6159661778cf1a7a16 Mon Sep 17 00:00:00 2001 From: zouap Date: Sun, 9 Oct 2022 14:18:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/aisafety.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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