Browse Source

Merge branch 'grampus-notebook' of openi.pcl.ac.cn:OpenI/aiforge into grampus-notebook

tags/v1.22.12.1^2
zhoupzh 3 years ago
parent
commit
18f838c111
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      routers/repo/grampus.go

+ 1
- 2
routers/repo/grampus.go View File

@@ -1130,11 +1130,10 @@ func GrampusNotebookShow(ctx *context.Context) {
prepareSpec4Show(ctx, task)
datasetList := make([]NotebookDataset, 0)
_ = json.Unmarshal([]byte(task.DataUrl), &datasetList)
ctx.Data["task"] = task
ctx.Data["datasetDownload"] = datasetList
ctx.Data["canDownload"] = cloudbrain.CanModifyJob(ctx, task)
ctx.Data["ai_center"] = cloudbrainService.GetAiCenterShow(task.AiCenter, ctx)
ctx.Data[""] = cloudbrainService.GetAiCenterShow(task.AiCenter, ctx)
ctx.HTML(http.StatusOK, tplGrampusNotebookShow)
}



Loading…
Cancel
Save