Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
molbap committed Oct 18, 2023
1 parent 3ac6817 commit 4364724
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/transformers/models/fuyu/processing_fuyu.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from ...processing_utils import ProcessorMixin
from ...utils import is_torch_available, is_vision_available, logging

if is_torch_available and is_vision_available:
if is_torch_available() and is_vision_available():
from .image_processing_fuyu import FuyuImageProcessor


Expand Down
2 changes: 1 addition & 1 deletion tests/models/fuyu/test_image_processing_fuyu.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
require_vision,
)

if is_torch_available() and is_vision_available:
if is_torch_available() and is_vision_available():
import torch
from transformers import FuyuImageProcessor

Expand Down

0 comments on commit 4364724

Please sign in to comment.