Skip to content

Commit 9997d64

Browse files
committed
typing fix for colpali
1 parent 37e9659 commit 9997d64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fastembed/late_interaction_multimodal/late_interaction_multimodal_embedding.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ def list_supported_models(cls) -> list[MultimodalModelDescription]:
4343
"""
4444
result: list[MultimodalModelDescription] = []
4545
for embedding in cls.EMBEDDINGS_REGISTRY:
46-
result.extend(cast(MultimodalModelDescription, embedding.list_supported_models()))
46+
result.extend(
47+
cast(list[MultimodalModelDescription], embedding.list_supported_models())
48+
)
4749
return result
4850

4951
def __init__(

0 commit comments

Comments
 (0)