Spaces:
Sleeping
Sleeping
Commit
·
70f4b06
1
Parent(s):
77a1ede
Update model.py
Browse files
model.py
CHANGED
@@ -60,7 +60,7 @@ class Model(LabelStudioMLBase):
|
|
60 |
|
61 |
url = task["data"]["image"]
|
62 |
r = requests.get(generate_download_signed_url_v4(url), stream=True).raw
|
63 |
-
print(r)
|
64 |
image = Image.open(r)
|
65 |
|
66 |
original_width, original_height = image.size
|
|
|
60 |
|
61 |
url = task["data"]["image"]
|
62 |
r = requests.get(generate_download_signed_url_v4(url), stream=True).raw
|
63 |
+
print(r.json())
|
64 |
image = Image.open(r)
|
65 |
|
66 |
original_width, original_height = image.size
|