Skip to content

Commit 8bb5f1d

Browse files
authored
Apply suggestions from code review
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
1 parent 675f783 commit 8bb5f1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/supervision/detection

src/supervision/detection/vlm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def validate_vlm_parameters(vlm: VLM | str, result: Any, kwargs: dict[str, Any])
202202

203203
def from_paligemma(
204204
result: str, resolution_wh: tuple[int, int], classes: list[str] | None = None
205-
) -> tuple[npt.NDArray[Any], npt.NDArray[Any] | None, npt.NDArray[Any]]:
205+
) -> tuple[npt.NDArray[Any], npt.NDArray[Any], npt.NDArray[Any]]:
206206
"""
207207
Parse bounding boxes from paligemma-formatted text, scale them to the specified
208208
resolution, and optionally filter by classes.

0 commit comments

Comments
 (0)