Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
yonigozlan committed Sep 17, 2024
1 parent 9ca1e51 commit 38ab7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/processing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ def _is_valid_images_input_for_processor(imgs):
for img in imgs:
if not _is_valid_images_input_for_processor(img):
return False
# If not a list of tuple, we have been given a single image or batched tensor of images
# If not a list or tuple, we have been given a single image or batched tensor of images
elif not (is_valid_image(imgs) or is_url(imgs)):
return False
return True
Expand Down

0 comments on commit 38ab7df

Please sign in to comment.