Browse Source

fix-bug

pull/3433/head
ychao_1983 2 years ago
parent
commit
83e6243bac
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      services/cloudbrain/cloudbrainTask/notebook.go

+ 3
- 0
services/cloudbrain/cloudbrainTask/notebook.go View File

@@ -420,6 +420,9 @@ func getCloudbrainType(optionType int) int {
if optionType < 1 {
return models.TypeCloudBrainOne
}
if setting.ModelartsCD.Enabled {
return models.TypeCDCenter
}
return models.TypeCloudBrainTwo
}



Loading…
Cancel
Save