From 2aa8ebfec89f908030613c183cd7904701d53335 Mon Sep 17 00:00:00 2001 From: "Samuel J. Woodward" Date: Mon, 6 Jan 2025 09:43:29 -0500 Subject: [PATCH] explicitly specified the SendType and ReturnType paramaters for yield_images --- deepface/commons/image_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepface/commons/image_utils.py b/deepface/commons/image_utils.py index 1393af1..b984f91 100644 --- a/deepface/commons/image_utils.py +++ b/deepface/commons/image_utils.py @@ -35,7 +35,7 @@ def list_images(path: str) -> List[str]: return images -def yield_images(path: str) -> Generator[str]: +def yield_images(path: str) -> Generator[str, None, None]: """ Yield images in a given path Args: