fix(imports): fixes VideoInput import module for transformers
Browse files
image_processing_videollama3.py
CHANGED
|
@@ -39,7 +39,6 @@ from transformers.image_utils import (
|
|
| 39 |
ChannelDimension,
|
| 40 |
ImageInput,
|
| 41 |
PILImageResampling,
|
| 42 |
-
VideoInput,
|
| 43 |
get_image_size,
|
| 44 |
infer_channel_dimension_format,
|
| 45 |
is_scaled_image,
|
|
@@ -48,6 +47,7 @@ from transformers.image_utils import (
|
|
| 48 |
to_numpy_array,
|
| 49 |
)
|
| 50 |
from transformers.utils import TensorType, is_vision_available, logging
|
|
|
|
| 51 |
|
| 52 |
|
| 53 |
logger = logging.get_logger(__name__)
|
|
|
|
| 39 |
ChannelDimension,
|
| 40 |
ImageInput,
|
| 41 |
PILImageResampling,
|
|
|
|
| 42 |
get_image_size,
|
| 43 |
infer_channel_dimension_format,
|
| 44 |
is_scaled_image,
|
|
|
|
| 47 |
to_numpy_array,
|
| 48 |
)
|
| 49 |
from transformers.utils import TensorType, is_vision_available, logging
|
| 50 |
+
from transformers.video_utils import VideoInput
|
| 51 |
|
| 52 |
|
| 53 |
logger = logging.get_logger(__name__)
|