Browse Source

Merge pull request 'fix-3459' (#3469) from file-notebook-new into V20221228

Reviewed-on: https://openi.pcl.ac.cn/OpenI/aiforge/pulls/3469
Reviewed-by: zouap <zouap@pcl.ac.cn>
pull/3486/head
zouap 2 years ago
parent
commit
393dda00a4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      services/cloudbrain/cloudbrainTask/notebook.go

+ 1
- 1
services/cloudbrain/cloudbrainTask/notebook.go View File

@@ -417,7 +417,7 @@ func cloudBrainFileNoteBookCreate(ctx *context.Context, option api.CreateFileNot
}

func getCloudbrainType(optionType int) int {
if optionType < 1 {
if optionType <= GPUType {
return models.TypeCloudBrainOne
}
if setting.ModelartsCD.Enabled {


Loading…
Cancel
Save