diff --git a/labelbox/data/serialization/labelbox_v1/label.py b/labelbox/data/serialization/labelbox_v1/label.py index 587722911..ff4da0e4c 100644 --- a/labelbox/data/serialization/labelbox_v1/label.py +++ b/labelbox/data/serialization/labelbox_v1/label.py @@ -213,7 +213,7 @@ def _infer_media_type(self) -> str: elif self._has_object_annotations(): return 'image' else: - if self._row_contains((".jpg", ".png", ".jpeg")) and self._is_url(): + if self._row_contains((".jpg", ".png", ".PNG", ".jpeg")) and self._is_url(): return 'image' elif (self._row_contains((".txt", ".text", ".html")) and self._is_url()) or not self._is_url():