Browse Source

fix-3459

pull/3469/head
ychao_1983 2 years ago
parent
commit
8f37e3baf4
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