Browse Source

Merge branch 'liuzx_trainjob' into zhou

pull/1106/head
zhoupzh 3 years ago
parent
commit
2ca226839b
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      routers/repo/modelarts.go

+ 2
- 0
routers/repo/modelarts.go View File

@@ -92,6 +92,7 @@ func DebugJobIndex(ctx *context.Context) {
ctx.Data["PageIsCloudBrain"] = true
ctx.Data["Tasks"] = ciTasks
ctx.Data["CanCreate"] = cloudbrain.CanCreateOrDebugJob(ctx)
ctx.Data["RepoIsEmpty"] = repo.IsEmpty
ctx.HTML(200, tplDebugJobIndex)
}

@@ -331,6 +332,7 @@ func TrainJobIndex(ctx *context.Context) {
ctx.Data["PageIsCloudBrain"] = true
ctx.Data["Tasks"] = tasks
ctx.Data["CanCreate"] = cloudbrain.CanCreateOrDebugJob(ctx)
ctx.Data["RepoIsEmpty"] = repo.IsEmpty
ctx.HTML(200, tplModelArtsTrainJobIndex)
}



Loading…
Cancel
Save