|
@@ -417,7 +417,7 @@ func cloudBrainFileNoteBookCreate(ctx *context.Context, option api.CreateFileNot |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func getCloudbrainType(optionType int) int { |
|
|
func getCloudbrainType(optionType int) int { |
|
|
if optionType < 1 { |
|
|
|
|
|
|
|
|
if optionType <= GPUType { |
|
|
return models.TypeCloudBrainOne |
|
|
return models.TypeCloudBrainOne |
|
|
} |
|
|
} |
|
|
if setting.ModelartsCD.Enabled { |
|
|
if setting.ModelartsCD.Enabled { |
|
|