From b87a504d22ab4caed31007b03dca2eae762dfa6e Mon Sep 17 00:00:00 2001 From: Onuralp SEZER Date: Mon, 14 Jul 2025 17:26:59 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9E=20remove=20GOOGLE=5FGEMINI?= =?UTF-8?q?=5F2=5F5=20from=20gemini=5F2=5F0=20check=20and=20only=20use=20n?= =?UTF-8?q?ew=20gemini=5F2=5F5=20func?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supervision/detection/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervision/detection/core.py b/supervision/detection/core.py index 2478721b..246ff288 100644 --- a/supervision/detection/core.py +++ b/supervision/detection/core.py @@ -1136,7 +1136,7 @@ class Detections: return cls(xyxy=xyxy, mask=mask, data=data) - if vlm == VLM.GOOGLE_GEMINI_2_0 or vlm == VLM.GOOGLE_GEMINI_2_5: + if vlm == VLM.GOOGLE_GEMINI_2_0: xyxy, class_id, class_name = from_google_gemini_2_0(result, **kwargs) data = {CLASS_NAME_DATA_FIELD: class_name} return cls(xyxy=xyxy, class_id=class_id, data=data)