diff --git a/potassium/potassium.py b/potassium/potassium.py index 54cfc36..fc16e0f 100644 --- a/potassium/potassium.py +++ b/potassium/potassium.py @@ -268,8 +268,8 @@ def status(): res = make_response({ "gpu_available": cur_status.gpu_available, "sequence_number": cur_status.sequence_number, - "idle_time": cur_status.idle_time, - "inference_time": cur_status.longest_inference_time, + "idle_time": int(cur_status.idle_time*1000), + "inference_time": int(cur_status.longest_inference_time*1000), }) res.status_code = 200