
    bCi	                     `    S r SSKJr  SSKJr  \R
                  " \5      r " S S\5      rS/r	g)z
Processor class for CLVP
   )ProcessorMixin)loggingc                   @   ^  \ rS rSrSrSrSrU 4S jrU 4S jrSr	U =r
$ )ClvpProcessor   aO  
Constructs a CLVP processor which wraps a CLVP Feature Extractor and a CLVP Tokenizer into a single processor.

[`ClvpProcessor`] offers all the functionalities of [`ClvpFeatureExtractor`] and [`ClvpTokenizer`]. See the
[`~ClvpProcessor.__call__`], [`~ClvpProcessor.decode`] and [`~ClvpProcessor.batch_decode`] for more information.

Args:
    feature_extractor (`ClvpFeatureExtractor`):
        An instance of [`ClvpFeatureExtractor`]. The feature extractor is a required input.
    tokenizer (`ClvpTokenizer`):
        An instance of [`ClvpTokenizer`]. The tokenizer is a required input.
ClvpFeatureExtractorClvpTokenizerc                 $   > [         TU ]  X5        g )N)super__init__)selffeature_extractor	tokenizer	__class__s      b/home/james-whalen/.local/lib/python3.13/site-packages/transformers/models/clvp/processing_clvp.pyr   ClvpProcessor.__init__,   s    *6    c                    > UR                  SS5      nUb  [        R                  S5        X2S'   [        TU ]  " U0 UD6$ )z
Forwards the `audio` and `sampling_rate` arguments to [`~ClvpFeatureExtractor.__call__`] and the `text`
argument to [`~ClvpTokenizer.__call__`]. Please refer to the docstring of the above two methods for more
information.

raw_speechNzbUsing `raw_speech` keyword argument is deprecated when calling ClvpProcessor, instead use `audio`.audio)poploggerwarningr   __call__)r   argskwargsr   r   s       r   r   ClvpProcessor.__call__/   sH     ZZd3
!NNt %ww000r    )__name__
__module____qualname____firstlineno____doc__feature_extractor_classtokenizer_classr   r   __static_attributes____classcell__)r   s   @r   r   r      s$     5%O71 1r   r   N)
r#   processing_utilsr   utilsr   
get_loggerr   r   r   __all__r   r   r   <module>r,      s;     /  
		H	% 1N  1F 
r   