Skip to content

Commit

Permalink
fix: fix run_logo_detection function
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Feb 13, 2024
1 parent a7eab33 commit 4775ccc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion robotoff/workers/tasks/import_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4775ccc

Please sign in to comment.