|
|
|
@@ -2345,10 +2345,11 @@ func InferenceJobIndex(ctx *context.Context) { |
|
|
|
Page: 1, |
|
|
|
PageSize: 2, |
|
|
|
}, |
|
|
|
RepoID: repoId, |
|
|
|
Type: Type, |
|
|
|
New: MODEL_LATEST, |
|
|
|
Status: 0, |
|
|
|
RepoID: repoId, |
|
|
|
Type: Type, |
|
|
|
New: MODEL_LATEST, |
|
|
|
IsOnlyThisRepo: true, |
|
|
|
Status: 0, |
|
|
|
}) |
|
|
|
ctx.Data["MODEL_COUNT"] = model_count |
|
|
|
|
|
|
|
@@ -2425,10 +2426,11 @@ func inferenceJobNewDataPrepare(ctx *context.Context) error { |
|
|
|
Page: 1, |
|
|
|
PageSize: 2, |
|
|
|
}, |
|
|
|
RepoID: repoId, |
|
|
|
Type: Type, |
|
|
|
New: MODEL_LATEST, |
|
|
|
Status: 0, |
|
|
|
RepoID: repoId, |
|
|
|
Type: Type, |
|
|
|
New: MODEL_LATEST, |
|
|
|
IsOnlyThisRepo: true, |
|
|
|
Status: 0, |
|
|
|
}) |
|
|
|
ctx.Data["MODEL_COUNT"] = model_count |
|
|
|
ctx.Data["datasetType"] = models.TypeCloudBrainTwo |
|
|
|
|