Skip to content

Commit

Permalink
Remove unused resize var
Browse files Browse the repository at this point in the history
  • Loading branch information
SolomonLake committed Jan 17, 2025
1 parent b41c937 commit 5142498
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions roboflow/models/object_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -201,7 +200,6 @@ def predict( # type: ignore[override]
)
)
dimensions = image.size
resize = True

# Create buffer
buffered = io.BytesIO()
Expand Down

0 comments on commit 5142498

Please sign in to comment.