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 {