Skip to content

Commit 1eded91

Browse files
committed
unknown image dims for hosted ims
1 parent 3e269ec commit 1eded91

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

roboflow/models/classification.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ def predict(self, image_path, hosted=False):
7474
self.api_url += "&image=" + urllib.parse.quote_plus(image_path)
7575
# POST to the API
7676
resp = requests.post(self.api_url)
77-
78-
image_dims = {"width": "0", "height": "0"}
77+
img_dims = {"width": "0", "height": "0"}
7978

8079
if resp.status_code != 200:
8180
raise Exception(resp.text)

0 commit comments

Comments
 (0)