diff --git a/routers/repo/ai_model_manage.go b/routers/repo/ai_model_manage.go index 8ce8dfa15..afe45c942 100644 --- a/routers/repo/ai_model_manage.go +++ b/routers/repo/ai_model_manage.go @@ -412,6 +412,7 @@ func ShowOneVersionOtherModel(ctx *context.Context) { } func ShowModelTemplate(ctx *context.Context) { + ctx.Data["isModelManage"] = true ctx.HTML(200, tplModelManageIndex) }