|
|
@@ -2589,7 +2589,8 @@ func inferenceJobErrorNewDataPrepare(ctx *context.Context, form auth.CreateModel |
|
|
|
ctx.Data["datasetType"] = models.TypeCloudBrainTwo |
|
|
|
waitCount := cloudbrain.GetWaitingCloudbrainCount(models.TypeCloudBrainTwo, "") |
|
|
|
ctx.Data["WaitCount"] = waitCount |
|
|
|
|
|
|
|
NotStopTaskCount, _ := cloudbrainTask.GetNotFinalStatusTaskCount(ctx.User.ID, models.TypeCloudBrainTwo, string(models.JobTypeInference)) |
|
|
|
ctx.Data["NotStopTaskCount"] = NotStopTaskCount |
|
|
|
return nil |
|
|
|
} |
|
|
|
func InferenceJobShow(ctx *context.Context) { |
|
|
|