
    rh                         d Z ddlZddlmZ ddlmZ ddlmZ  ej                  e	      Z
 ed	       G d
 de             ZdgZy)z"Feature extractor class for Donut.    N   )logging)requires   )DonutImageProcessor)vision)backendsc                         e Zd Zd fdZ xZS )DonutFeatureExtractorc                 X    t        j                  dt               t        |   |i | y )NzThe class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use DonutImageProcessor instead.)warningswarnFutureWarningsuper__init__)selfargskwargs	__class__s      /var/www/html/ai-insurance-compliance-backend/venv/lib/python3.12/site-packages/transformers/models/donut/feature_extraction_donut.pyr   zDonutFeatureExtractor.__init__   s+    0	

 	$)&)    )returnN)__name__
__module____qualname__r   __classcell__)r   s   @r   r   r      s    * *r   r   )__doc__r   utilsr   utils.import_utilsr   image_processing_donutr   
get_loggerr   loggerr   __all__ r   r   <module>r%      sU    )   * 7 
		H	% 
;*/ *  * #
#r   