|
|
|
@@ -338,7 +338,7 @@ func GetModelArtsInferenceJob(ctx *context.APIContext) { |
|
|
|
job.TrainJobDuration = result.TrainJobDuration |
|
|
|
|
|
|
|
if result.Duration != 0 { |
|
|
|
job.TrainJobDuration = addZero(result.Duration/3600000) + ":" + addZero(result.Duration%3600000/60000) + ":" + addZero(result.Duration%60000/1000) |
|
|
|
job.TrainJobDuration = util.AddZero(result.Duration/3600000) + ":" + util.AddZero(result.Duration%3600000/60000) + ":" + util.AddZero(result.Duration%60000/1000) |
|
|
|
|
|
|
|
} else { |
|
|
|
job.TrainJobDuration = "00:00:00" |
|
|
|
|