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