Skip to content

Commit

Permalink
Add ProcessingUtilTester
Browse files Browse the repository at this point in the history
  • Loading branch information
yonigozlan committed Sep 13, 2024
1 parent 3d8ec3d commit 14af1c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/transformers/models/llava/processing_llava.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def __call__(
raise ValueError("You have to specify at least one of `images` or `text`.")

# check if images and text inputs are reversed for BC
text, images = images, text
images, text = _validate_images_text_input_order(images, text)

output_kwargs = self._merge_kwargs(
Expand Down

0 comments on commit 14af1c9

Please sign in to comment.