diff --git a/roboflow/models/object_detection.py b/roboflow/models/object_detection.py index 18274fb4..1d86c5b7 100644 --- a/roboflow/models/object_detection.py +++ b/roboflow/models/object_detection.py @@ -172,7 +172,6 @@ def predict( # type: ignore[override] else: self.__exception_check(image_path_check=image_path) - resize = False original_dimensions = None # If image is local image if not hosted: @@ -201,7 +200,6 @@ def predict( # type: ignore[override] ) ) dimensions = image.size - resize = True # Create buffer buffered = io.BytesIO()