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)