






"""simple docstring"""





from .imports import is_rich_available


if is_rich_available():
  from rich.traceback import install

  install(show_locals=False)

else:
  raise ModuleNotFoundError("""To use the rich extension, install rich with `pip install rich`""")









"""simple docstring"""





import warnings

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


lowerCamelCase       	=						logging.get_logger(__name__)
class 				lowercase__       (   SCREAMING_SNAKE_CASE				):







       '''simple docstring'''


       def __init__(							self      :  Union[str, Any]		,    *_UpperCAmelCase      :  List[Any]		,    **_UpperCAmelCase      :  Union[str, Any]   )			->						None:


             '''simple docstring'''




             warnings.warn(
                 "The class FlavaFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
                 " use FlavaImageProcessor instead."		,    _UpperCAmelCase		,    )
             super().__init__(*_UpperCAmelCase		,    **_UpperCAmelCase   )




