From 16d18b14e0d8080e6d6a62846651cb6529d81894 Mon Sep 17 00:00:00 2001 From: andreasjansson Date: Wed, 9 Oct 2024 12:36:40 +0200 Subject: [PATCH] log mime type --- cog_safe_push/ai.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cog_safe_push/ai.py b/cog_safe_push/ai.py index 9f4a6c2..8ffd911 100644 --- a/cog_safe_push/ai.py +++ b/cog_safe_push/ai.py @@ -99,6 +99,8 @@ def create_content_list( if mime_type is None: mime_type = "application/octet-stream" + log.v(f"Detected mime type {mime_type} for {path}") + content.append( { "type": "image", # only image is supported