Skip to content

Commit acec312

Browse files
authored
fix: fix mypy colpali (#533)
1 parent cb90214 commit acec312

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
@@ -175,7 +175,7 @@ def _preprocess_onnx_text_input(
175175
) -> dict[str, NumpyArray]:
176176
onnx_input["input_ids"] = np.array(
177177
[
178-
self.QUERY_MARKER_TOKEN_ID + input_ids[2:].tolist()
178+
self.QUERY_MARKER_TOKEN_ID + input_ids[2:].tolist() # type: ignore[index]
179179
for input_ids in onnx_input["input_ids"]
180180
]
181181
)

0 commit comments

Comments
 (0)