From 038880214efa17448641531b8d8e875233b66ea8 Mon Sep 17 00:00:00 2001 From: Narek Mkhitaryan Date: Mon, 24 Jul 2023 18:52:42 +0400 Subject: [PATCH] add ContentType header for mask file --- src/superannotate/lib/core/usecases/annotations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/superannotate/lib/core/usecases/annotations.py b/src/superannotate/lib/core/usecases/annotations.py index 83f4b6a15..2ea6623a0 100644 --- a/src/superannotate/lib/core/usecases/annotations.py +++ b/src/superannotate/lib/core/usecases/annotations.py @@ -707,6 +707,7 @@ def _upload_mask(self, item_data: ItemToUpload): "annotation_bluemap_path" ], Body=item_data.mask, + ContentType="image/jpeg", ) async def distribute_queues(self, items_to_upload: List[ItemToUpload]):