



'''simple docstring'''





from ...processing_utils import ProcessorMixin






class __A     (    A		):



 '''simple docstring'''







 __lowerCamelCase       :			List[Any]		=			['image_processor', 'feature_extractor']
 __lowerCamelCase       :			int		=			'TvltImageProcessor'
 __lowerCamelCase       :			Optional[Any]		=			'TvltFeatureExtractor'



 def __init__(self					,  A					,  A			)       ->	Optional[Any]:


      """simple docstring"""



      super().__init__(image_processor=A					,  feature_extractor=A			)

      _a           =    image_processor
      _a           =    feature_extractor



 def __call__(self					,  A=None					,  A=None					,  A=None					,  A=None					,  A=False					,  A=False					,  *A					,  **A					,  )       ->	List[Any]:


      """simple docstring"""



      if images is None and audio is None:
           raise ValueError('''You need to specify either an `images` or `audio` input to process.'''			)

      _a           =    None
      if images is not None:
           _a           =    self.image_processor(A					,  mask_pixel=A					,  *A					,  **A			)
      if images_mixed is not None:
           _a           =    self.image_processor(A					,  is_mixed=A					,  *A					,  **A			)
      if audio is not None:
           _a           =    self.feature_extractor(
               A					,  *A					,  sampling_rate=A					,  mask_audio=A					,  **A			)

      _a           =    {}
      if audio is not None:
           output_dict.update(A			)
      if images is not None:
           output_dict.update(A			)
      if images_mixed_dict is not None:
           output_dict.update(A			)
      return output_dict



 @property
 def    a__    (self			)       ->	List[str]:


      """simple docstring"""



      _a           =    self.image_processor.model_input_names
      _a           =    self.feature_extractor.model_input_names
      return list(dict.fromkeys(image_processor_input_names + feature_extractor_input_names			)			)








'''simple docstring'''





from __future__ import annotations




def lowerCAmelCase    (__A):



     """simple docstring"""



     _a           =    2
     _a           =    []
     while i * i <= n:
          if n % i:
               i += 1
          else:
               n //= i
               factors.append(__A)
     if n > 1:
          factors.append(__A)
     return factors


if __name__ == "__main__":
  import doctest

  doctest.testmod()



