From 036e6e8afca347663b4eefa35a103fc235fb51eb Mon Sep 17 00:00:00 2001 From: zouap Date: Fri, 3 Dec 2021 11:30:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=A8=A1=E5=9E=8B=E8=AF=A6?= =?UTF-8?q?=E6=83=85ID=E7=9A=84=E4=BC=A0=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/ai_model_manage.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/repo/ai_model_manage.go b/routers/repo/ai_model_manage.go index 5ce72762c..1766d198d 100644 --- a/routers/repo/ai_model_manage.go +++ b/routers/repo/ai_model_manage.go @@ -349,6 +349,7 @@ func DownloadSingleModelFile(ctx *context.Context) { } func ShowModelInfo(ctx *context.Context) { + ctx.Data["ID"] = ctx.Query("ID") ctx.HTML(200, tplModelInfo) }