Skip to content

Commit fef466f

Browse files
committed
fix check for failing tests
1 parent c1ed504 commit fef466f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mteb/_create_dataloaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def create_dataloader(
325325
"""
326326
if (
327327
prompt_type is None
328-
and "text" in task_metadata.modalities
328+
and task_metadata.modalities == ["text"]
329329
and input_column is not None
330330
):
331331
return _create_dataloader_from_texts(

0 commit comments

Comments
 (0)