"""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 		_lowercase (						unittest.TestCase					,					__a      ):



						"""simple docstring"""




						def   UpperCAmelCase_ (				self							:    Tuple				)				->				Optional[Any]:
													'''simple docstring'''



													__UpperCamelCase							=load_tool('''speech-to-text'''				)
													self.tool.setup()





						def   UpperCAmelCase_ (				self							:    Optional[int]				)				->				Optional[int]:
													'''simple docstring'''



													__UpperCamelCase							=self.tool(torch.ones(3000				)				)
													self.assertEqual(UpperCamelCase__     , ''' you'''				)





						def   UpperCAmelCase_ (				self							:    Union[str, Any]				)				->				Union[str, Any]:
													'''simple docstring'''



													__UpperCamelCase							=self.tool(audio=torch.ones(3000				)				)
													self.assertEqual(UpperCamelCase__     , ''' you'''				)




"""simple docstring"""

from collections import defaultdict


def    lowerCAmelCase			(__UpperCamelCase							:    int = 5			):
							"""simple docstring"""


							__UpperCamelCase							=defaultdict(__UpperCamelCase			)
							__UpperCamelCase							=0

							while True:
														__UpperCamelCase							=get_digits(__UpperCamelCase			)
														freqs[digits].append(__UpperCamelCase			)

														if len(freqs[digits]			) == max_base:
																					__UpperCamelCase							=freqs[digits][0] ** 3
																					return base

														num += 1


def    lowerCAmelCase			(__UpperCamelCase							:    int			):
							"""simple docstring"""


							return "".join(sorted(str(num**3			)			)			)


if __name__ == "__main__":
				print(f'''{solution() = }''')



