Skip to content

Commit 06f1829

Browse files
surpass mypy warnings
1 parent 986c6ba commit 06f1829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastembed/late_interaction_multimodal/colpali.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def get_image_mask(
324324

325325
# Ensure images is iterable
326326
is_single = isinstance(images, (str, bytes, Path)) or hasattr(images, "read")
327-
images_to_process: Iterable[ImageInput] = [images] if is_single else images # type: ignore[list-item]
327+
images_to_process: Iterable[ImageInput] = [images] if is_single else images # type: ignore[assignment, list-item]
328328

329329
# Process images in batches to get input_ids
330330
masks: list[NumpyArray] = []

0 commit comments

Comments
 (0)