Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.12.1^2
zouap 3 years ago
parent
commit
7d68b44af6
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/api/v1/repo/modelmanage.go

+ 1
- 0
routers/api/v1/repo/modelmanage.go View File

@@ -45,6 +45,7 @@ func QueryModelById(ctx *context.APIContext) {

func QueryModelListForPredict(ctx *context.APIContext) {
log.Info("QueryModelListForPredict by api.")
ctx.Context.SetParams("isOnlyThisRepo", "true")
routerRepo.QueryModelListForPredict(ctx.Context)
}



Loading…
Cancel
Save