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