





import warnings

from ...utils import logging
from .image_processing_flava import FlavaImageProcessor


__UpperCAmelCase	:       str    	=							logging.get_logger(__name__)







class    __snake_case	(							__lowerCamelCase      ):





       '''simple docstring'''







       def __init__(  self			:   Dict							,    *A			:   str							,    **A			:   int		):
         warnings.warn(
             """The class FlavaFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
             """ use FlavaImageProcessor instead."""							,    A							,    )
         super().__init__(*A							,    **A		)













from ...utils import (
    OptionalDependencyNotAvailable,
    is_torch_available,
    is_transformers_available,
    is_transformers_version,
)


try:
      if not (is_transformers_available() and is_torch_available()):
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      from ...utils.dummy_torch_and_transformers_objects import (
          ImageTextPipelineOutput,
          UniDiffuserPipeline,
      )
else:
      from .modeling_text_decoder import UniDiffuserTextDecoder
      from .modeling_uvit import UniDiffuserModel, UTransformeraDModel
      from .pipeline_unidiffuser import ImageTextPipelineOutput, UniDiffuserPipeline






