diff --git a/supervision/keypoint/core.py b/supervision/keypoint/core.py index 803b818eb..688f03951 100644 --- a/supervision/keypoint/core.py +++ b/supervision/keypoint/core.py @@ -558,8 +558,8 @@ def from_transformers(cls, transformers_results: List) -> KeyPoints: return cls.empty() return cls( - xy=np.array(keypoints_list,dtype=np.float32), - confidence=np.array(scores_list,dtype=np.float32), + xy=np.array(keypoints_list, dtype=np.float32), + confidence=np.array(scores_list, dtype=np.float32), ) def __getitem__(