def load_photo_paths(locations: List[Path]) -> Iterator[Path]:
    for location in tqdm(locations):
        for photo in location.glob('*.jpg'):
            (yield photo)
def load_photo_paths(locations: List[Path]) -> Iterator[Path]:
    for location in tqdm(locations):
        for photo in location.glob('*.jpg'):
            (yield photo)