






"""simple docstring"""


from ..utils import DummyObject, requires_backends


class    snake_case						(				metaclass=_lowerCAmelCase		):


   '''simple docstring'''

   A_		:      List[Any]							=					["torch", "librosa"]


   def __init__(      self					:	List[str],			*_lowerCamelCase					:	int,			**_lowerCamelCase					:	Any    ):

     '''simple docstring'''
     requires_backends(self,			['''torch''', '''librosa''']    )


   @classmethod
   def 							_SCREAMING_SNAKE_CASE							(      cls					:	Optional[Any],			*_lowerCamelCase					:	Union[str, Any],			**_lowerCamelCase					:	List[Any]    ):

     '''simple docstring'''
     requires_backends(cls,			['''torch''', '''librosa''']    )






   @classmethod
   def 							_SCREAMING_SNAKE_CASE							(      cls					:	Union[str, Any],			*_lowerCamelCase					:	Any,			**_lowerCamelCase					:	List[Any]    ):

     '''simple docstring'''
     requires_backends(cls,			['''torch''', '''librosa''']    )





class    snake_case						(				metaclass=_lowerCAmelCase		):


   '''simple docstring'''

   A_		:      Any							=					["torch", "librosa"]


   def __init__(      self					:	List[str],			*_lowerCamelCase					:	Optional[int],			**_lowerCamelCase					:	Optional[Any]    ):

     '''simple docstring'''
     requires_backends(self,			['''torch''', '''librosa''']    )


   @classmethod
   def 							_SCREAMING_SNAKE_CASE							(      cls					:	Tuple,			*_lowerCamelCase					:	Union[str, Any],			**_lowerCamelCase					:	Any    ):

     '''simple docstring'''
     requires_backends(cls,			['''torch''', '''librosa''']    )






   @classmethod
   def 							_SCREAMING_SNAKE_CASE							(      cls					:	Dict,			*_lowerCamelCase					:	Tuple,			**_lowerCamelCase					:	List[str]    ):

     '''simple docstring'''
     requires_backends(cls,			['''torch''', '''librosa''']    )












"""simple docstring"""


from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_flax_available,
    is_tf_available,
    is_torch_available,
)


lowercase_								=	{
    'configuration_gptsan_japanese': ['GPTSAN_JAPANESE_PRETRAINED_CONFIG_ARCHIVE_MAP', 'GPTSanJapaneseConfig'],
    'tokenization_gptsan_japanese': ['GPTSanJapaneseTokenizer'],
}

try:
       if not is_torch_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       lowercase_								=	[
           'GPTSAN_JAPANESE_PRETRAINED_MODEL_ARCHIVE_LIST',
           'GPTSanJapaneseForConditionalGeneration',
           'GPTSanJapaneseModel',
           'GPTSanJapanesePreTrainedModel',
       ]
       lowercase_								=	[
           'GPTSanJapaneseTokenizer',
       ]


if TYPE_CHECKING:
       from .configuration_gptsan_japanese import GPTSAN_JAPANESE_PRETRAINED_CONFIG_ARCHIVE_MAP, GPTSanJapaneseConfig
       from .tokenization_gptsan_japanese import GPTSanJapaneseTokenizer

       try:
              if not is_torch_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_gptsan_japanese import (
                  GPTSAN_JAPANESE_PRETRAINED_MODEL_ARCHIVE_LIST,
                  GPTSanJapaneseForConditionalGeneration,
                  GPTSanJapaneseModel,
                  GPTSanJapanesePreTrainedModel,
              )
              from .tokenization_gptsan_japanese import GPTSanJapaneseTokenizer


else:
       import sys

       lowercase_								=	_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)




