Browse Source

fix issue

tags/v1.22.12.2^2
zhoupzh 2 years ago
parent
commit
98e0a770d4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      modules/auth/modelarts.go

+ 1
- 0
modules/auth/modelarts.go View File

@@ -28,6 +28,7 @@ type CreateModelArtsNotebookForm struct {
LabelName string `form:"label_names"`
PreTrainModelUrl string `form:"pre_train_model_url"`
SpecId int64 `form:"spec_id" binding:"Required"`
DatasetName string `form:"dataset_name"`
}

func (f *CreateModelArtsNotebookForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {


Loading…
Cancel
Save