Spaces:
Build error
Build error
Update src/utils/image.py
Browse files- src/utils/image.py +1 -1
src/utils/image.py
CHANGED
|
@@ -14,4 +14,4 @@ def convert_jp2_to_image(content):
|
|
| 14 |
return Image.open(BytesIO(content))
|
| 15 |
except Exception as e:
|
| 16 |
print(f"Error opening image: {e}")
|
| 17 |
-
return None
|
|
|
|
| 14 |
return Image.open(BytesIO(content))
|
| 15 |
except Exception as e:
|
| 16 |
print(f"Error opening image: {e}")
|
| 17 |
+
return None
|