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: