From 4364724dcc5838fb441ea30eb9bb240af6d58942 Mon Sep 17 00:00:00 2001 From: Pablo Montalvo Date: Wed, 18 Oct 2023 21:02:30 +0000 Subject: [PATCH] fix typo --- src/transformers/models/fuyu/processing_fuyu.py | 2 +- tests/models/fuyu/test_image_processing_fuyu.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transformers/models/fuyu/processing_fuyu.py b/src/transformers/models/fuyu/processing_fuyu.py index d738aedb412216..5883ce277a95f0 100644 --- a/src/transformers/models/fuyu/processing_fuyu.py +++ b/src/transformers/models/fuyu/processing_fuyu.py @@ -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 diff --git a/tests/models/fuyu/test_image_processing_fuyu.py b/tests/models/fuyu/test_image_processing_fuyu.py index 80cc94e3ad9b79..620ad7bc51027e 100644 --- a/tests/models/fuyu/test_image_processing_fuyu.py +++ b/tests/models/fuyu/test_image_processing_fuyu.py @@ -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