From 00817df9e23a12ca5a9f8462864c4f916654feab Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 25 Jul 2025 11:41:24 +0000 Subject: [PATCH] =?UTF-8?q?fix(pre=5Fcommit):=20=F0=9F=8E=A8=20auto=20form?= =?UTF-8?q?at=20pre-commit=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supervision/detection/utils/vlms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervision/detection/utils/vlms.py b/supervision/detection/utils/vlms.py index c284ac8d..8c4aca74 100644 --- a/supervision/detection/utils/vlms.py +++ b/supervision/detection/utils/vlms.py @@ -60,7 +60,7 @@ def edit_distance(string_1: str, string_2: str, case_sensitive: bool = True) -> curr_row[j] = min( prev_row[j] + 1, curr_row[j - 1] + 1, - prev_row[j - 1] + substitution_cost + prev_row[j - 1] + substitution_cost, ) prev_row, curr_row = curr_row, prev_row