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