Skip to content

Commit bf249da

Browse files
committed
Format
1 parent 2f1c302 commit bf249da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

roboflow/models/object_detection.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,9 @@ def predict( # type: ignore[override]
179179
import cv2
180180
import numpy as np
181181

182-
should_resize = "resize" in self.preprocessing.keys() and "Stretch" in self.preprocessing["resize"]["format"]
182+
should_resize = (
183+
"resize" in self.preprocessing.keys() and "Stretch" in self.preprocessing["resize"]["format"]
184+
)
183185

184186
if isinstance(image_path, str):
185187
image = Image.open(image_path).convert("RGB")

0 commit comments

Comments
 (0)