From 4775ccccf545ef0079e63de35943b5370ee10640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bournhonesque?= Date: Tue, 13 Feb 2024 15:09:00 +0100 Subject: [PATCH] fix: fix run_logo_detection function --- robotoff/workers/tasks/import_image.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/robotoff/workers/tasks/import_image.py b/robotoff/workers/tasks/import_image.py index bb1bcb2867..9124a97c4e 100644 --- a/robotoff/workers/tasks/import_image.py +++ b/robotoff/workers/tasks/import_image.py @@ -434,7 +434,10 @@ def run_nutriscore_object_detection( def run_logo_object_detection( - product_id: ProductIdentifier, image_url: str, ocr_url: str, triton_uri: str | None + product_id: ProductIdentifier, + image_url: str, + ocr_url: str, + triton_uri: str | None = None, ) -> None: """Detect logos using the universal logo detector model and generate logo-related predictions.