diff --git a/routers/repo/ai_model_convert.go b/routers/repo/ai_model_convert.go index 4a9cb0fdd..c36e19914 100644 --- a/routers/repo/ai_model_convert.go +++ b/routers/repo/ai_model_convert.go @@ -550,6 +550,9 @@ func ShowModelConvertInfo(ctx *context.Context) { job, err := models.QueryModelConvertById(ctx.Query("ID")) if err == nil { + if job.TrainJobDuration == "" { + job.TrainJobDuration = "00:00:00" + } ctx.Data["task"] = job } else { ctx.ServerError("Not found task.", err)