Skip to content

Commit

Permalink
fix(pre_commit): 🎨 auto format pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 1, 2024
1 parent 933f71d commit dfa7ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions supervision/keypoint/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand Down

0 comments on commit dfa7ff3

Please sign in to comment.