From 153881c386ed7eb00c5bfedd05f0306885421387 Mon Sep 17 00:00:00 2001 From: zouap Date: Wed, 13 Jul 2022 15:05:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Bug=EF=BC=8C=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/ai_model_convert.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routers/repo/ai_model_convert.go b/routers/repo/ai_model_convert.go index 0ab305d51..e8db57ab5 100644 --- a/routers/repo/ai_model_convert.go +++ b/routers/repo/ai_model_convert.go @@ -574,12 +574,14 @@ func ShowModelConvertInfo(ctx *context.Context) { if job.CloudBrainTaskId == "" { ctx.Data["ExitDiagnostics"] = "" ctx.Data["AppExitDiagnostics"] = "" + ctx.HTML(200, tplModelConvertInfo) return } result, err := cloudbrain.GetJob(job.CloudBrainTaskId) if err != nil { log.Info("error:" + err.Error()) ctx.Data["error"] = err.Error() + ctx.HTML(200, tplModelConvertInfo) return } if result != nil {