Browse Source

增加模型详情ID的传回

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

+ 1
- 0
routers/repo/ai_model_manage.go View File

@@ -350,6 +350,7 @@ func DownloadSingleModelFile(ctx *context.Context) {

func ShowModelInfo(ctx *context.Context) {
ctx.Data["ID"] = ctx.Query("ID")
ctx.Data["name"] = ctx.Query("name")
ctx.HTML(200, tplModelInfo)
}



Loading…
Cancel
Save