






"""simple docstring"""



import unittest

from transformers import is_torch_available, load_tool

from .test_tools_common import ToolTesterMixin


if is_torch_available():
    import torch

class 	a					(       unittest.TestCase,    a_     ):







    def       UpperCamelCase_				(      self	):
      lowercase							   =	load_tool('speech-to-text'	)
      self.tool.setup()







    def       UpperCamelCase_				(      self	):
      lowercase							   =	self.tool(torch.ones(3_0_0_0	)	)
      self.assertEqual(_lowerCamelCase							,		' you'	)







    def       UpperCamelCase_				(      self	):
      lowercase							   =	self.tool(audio=torch.ones(3_0_0_0	)	)
      self.assertEqual(_lowerCamelCase							,		' you'	)










"""simple docstring"""



def 						_SCREAMING_SNAKE_CASE			(   __snake_case      :  Dict		, __snake_case      :  str   ):





  '''simple docstring'''





  lowercase							   =	1
  while b > 0:
    if b & 1:
      res *= a

    a *= a
    b >>= 1

  return res
def 						_SCREAMING_SNAKE_CASE			(   __snake_case      :  int		, __snake_case      :  List[str]		, __snake_case      :  str   ):





  '''simple docstring'''





  lowercase							   =	1
  while b > 0:
    if b & 1:
      lowercase							   =	((res % c) * (a % c)) % c

    a *= a
    b >>= 1

  return res


