



'''simple docstring'''





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





'''simple docstring'''





import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


__a          =		logging.get_logger(__name__)







class     UpperCAmelCase_       (       _a	):
    """simple docstring"""







    def __init__(    self					:     List[str] ,     *snake_case_					:     str ,     **snake_case_					:     List[str]						):
          warnings.warn(
              """The class BeitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
              """ use BeitImageProcessor instead.""" ,     snake_case_ ,     )
          super().__init__(*snake_case_ ,     **snake_case_						)
