


from ...processing_utils import ProcessorMixin





class  _a							(    _lowercase):
	_a  :  Optional[Any]				   =							'''WhisperFeatureExtractor'''
	_a  :  List[Any]				   =							'''WhisperTokenizer'''




	def __init__( self						:		List[str]		, _SCREAMING_SNAKE_CASE						:		List[str]		, _SCREAMING_SNAKE_CASE						:		List[str]		)->	List[str]:
			super().__init__(_SCREAMING_SNAKE_CASE		, _SCREAMING_SNAKE_CASE		)
			lowerCAmelCase__       :      Union[str, Any]   					= self.feature_extractor
			lowerCAmelCase__       :      Dict   					= False




	def 							UpperCAmelCase__( self						:		Optional[int]		, _SCREAMING_SNAKE_CASE						:		List[Any]=None		, _SCREAMING_SNAKE_CASE						:		List[Any]=None		, _SCREAMING_SNAKE_CASE						:		Any=True		)->	Any:
			return self.tokenizer.get_decoder_prompt_ids(task=_SCREAMING_SNAKE_CASE		, language=_SCREAMING_SNAKE_CASE		, no_timestamps=_SCREAMING_SNAKE_CASE		)




	def __call__( self						:		List[Any]		, *_SCREAMING_SNAKE_CASE						:		int		, **_SCREAMING_SNAKE_CASE						:		Any		)->	int:
			# For backward compatibility
			if self._in_target_context_manager:
					return self.current_processor(*_SCREAMING_SNAKE_CASE		, **_SCREAMING_SNAKE_CASE		)

			lowerCAmelCase__       :      Optional[Any]   					= kwargs.pop('''audio'''		, _SCREAMING_SNAKE_CASE		)
			lowerCAmelCase__       :      int   					= kwargs.pop('''sampling_rate'''		, _SCREAMING_SNAKE_CASE		)
			lowerCAmelCase__       :      Dict   					= kwargs.pop('''text'''		, _SCREAMING_SNAKE_CASE		)
			if len(_SCREAMING_SNAKE_CASE		) > 0:
					lowerCAmelCase__       :      Optional[int]   					= args[0]
					lowerCAmelCase__       :      Dict   					= args[1:]

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

			if audio is not None:
					lowerCAmelCase__       :      Union[str, Any]   					= self.feature_extractor(_SCREAMING_SNAKE_CASE		, *_SCREAMING_SNAKE_CASE		, sampling_rate=_SCREAMING_SNAKE_CASE		, **_SCREAMING_SNAKE_CASE		)
			if text is not None:
					lowerCAmelCase__       :      List[Any]   					= self.tokenizer(_SCREAMING_SNAKE_CASE		, **_SCREAMING_SNAKE_CASE		)

			if text is None:
					return inputs

			elif audio is None:
					return encodings
			else:
					lowerCAmelCase__       :      Tuple   					= encodings['''input_ids''']
					return inputs




	def 							UpperCAmelCase__( self						:		Union[str, Any]		, *_SCREAMING_SNAKE_CASE						:		str		, **_SCREAMING_SNAKE_CASE						:		str		)->	List[str]:
			return self.tokenizer.batch_decode(*_SCREAMING_SNAKE_CASE		, **_SCREAMING_SNAKE_CASE		)




	def 							UpperCAmelCase__( self						:		Tuple		, *_SCREAMING_SNAKE_CASE						:		List[Any]		, **_SCREAMING_SNAKE_CASE						:		Union[str, Any]		)->	Any:
			return self.tokenizer.decode(*_SCREAMING_SNAKE_CASE		, **_SCREAMING_SNAKE_CASE		)




	def 							UpperCAmelCase__( self						:		List[Any]		, _SCREAMING_SNAKE_CASE						:		str		, _SCREAMING_SNAKE_CASE						:		Tuple="np"		)->	Tuple:
			return self.tokenizer.get_prompt_ids(_SCREAMING_SNAKE_CASE		, return_tensors=_SCREAMING_SNAKE_CASE		)








import random

from .binary_exp_mod import bin_exp_mod






def 					lowerCamelCase_   (	_a     ,       _a=1_000	):




		"""simple docstring"""






		if n < 2:
				return False

		if n % 2 == 0:
				return n == 2

		# this means n is odd
		lowerCAmelCase__       :      int   					= n - 1
		lowerCAmelCase__       :      Any   					= 0
		while d % 2 == 0:
				d /= 2
				exp += 1

		# n - 1=d*(2**exp)
		lowerCAmelCase__       :      Optional[Any]   					= 0
		while count < prec:
				lowerCAmelCase__       :      Optional[Any]   					= random.randint(2     ,       n - 1	)
				lowerCAmelCase__       :      List[Any]   					= bin_exp_mod(_a     ,       _a     ,       _a	)
				if b != 1:
						lowerCAmelCase__       :      Dict   					= True
						for _ in range(_a	):
								if b == n - 1:
										lowerCAmelCase__       :      Union[str, Any]   					= False
										break
								lowerCAmelCase__       :      Tuple   					= b * b
								b %= n
						if flag:
								return False
						count += 1
		return True


if __name__ == "__main__":
		lowerCamelCase						=		abs(int(input('''Enter bound : ''').strip()))
		print('''Here\'s the list of primes:''')
		print(''', '''.join(str(i) for i in range(n + 1) if is_prime_big(i)))




