Spaces:
Runtime error
Runtime error
updated roboflow model to improve accuracy
Browse files
app.py
CHANGED
@@ -102,8 +102,6 @@ def fetchImage():
|
|
102 |
|
103 |
# Save the image to the current directory
|
104 |
if response.status_code == 200:
|
105 |
-
file_name = "downloaded_image.jpg"
|
106 |
-
|
107 |
image = Image.open(io.BytesIO(response.content))
|
108 |
|
109 |
if image.mode == "RGBA":
|
|
|
102 |
|
103 |
# Save the image to the current directory
|
104 |
if response.status_code == 200:
|
|
|
|
|
105 |
image = Image.open(io.BytesIO(response.content))
|
106 |
|
107 |
if image.mode == "RGBA":
|