Skip to content

Commit 85514c1

Browse files
authored
Update processing_vision_text_dual_encoder.py (#24950)
Fixing small typo: kwrags -> kwargs
1 parent 9859806 commit 85514c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/models/vision_text_dual_encoder/processing_vision_text_dual_encoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def __call__(self, text=None, images=None, return_tensors=None, **kwargs):
6464
"""
6565
Main method to prepare for the model one or several sequences(s) and image(s). This method forwards the `text`
6666
and `kwargs` arguments to VisionTextDualEncoderTokenizer's [`~PreTrainedTokenizer.__call__`] if `text` is not
67-
`None` to encode the text. To prepare the image(s), this method forwards the `images` and `kwrags` arguments to
67+
`None` to encode the text. To prepare the image(s), this method forwards the `images` and `kwargs` arguments to
6868
AutoImageProcessor's [`~AutoImageProcessor.__call__`] if `images` is not `None`. Please refer to the doctsring
6969
of the above two methods for more information.
7070

0 commit comments

Comments
 (0)