Browse Source

#2701

update
tags/v1.22.9.1^2^2
chenyifan01 3 years ago
parent
commit
0f2d6fce05
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      routers/repo/modelarts.go

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

@@ -501,7 +501,6 @@ func NotebookRestart(ctx *context.Context) {
CreatedUnix: createTime, CreatedUnix: createTime,
UpdatedUnix: createTime, UpdatedUnix: createTime,
Spec: spec, Spec: spec,

} }


err = models.RestartCloudbrain(task, newTask) err = models.RestartCloudbrain(task, newTask)
@@ -2116,7 +2115,7 @@ func InferenceJobCreate(ctx *context.Context, form auth.CreateModelArtsInference
datasUrlList, dataUrl, datasetNames, isMultiDataset, err := getDatasUrlListByUUIDS(uuid) datasUrlList, dataUrl, datasetNames, isMultiDataset, err := getDatasUrlListByUUIDS(uuid)
if err != nil { if err != nil {
inferenceJobErrorNewDataPrepare(ctx, form) inferenceJobErrorNewDataPrepare(ctx, form)
ctx.RenderWithErr(ctx.Tr(errStr), tplModelArtsInferenceJobNew, &form)
ctx.RenderWithErr(err.Error(), tplModelArtsInferenceJobNew, &form)
return return
} }
dataPath := dataUrl dataPath := dataUrl


Loading…
Cancel
Save