



'''simple docstring'''





from ...utils import is_note_seq_available, is_transformers_available, is_torch_available
from ...utils import OptionalDependencyNotAvailable


try:
    if not (is_transformers_available() and is_torch_available()):
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    from ...utils.dummy_torch_and_transformers_objects import *  # noqa F403
else:
    from .notes_encoder import SpectrogramNotesEncoder
    from .continous_encoder import SpectrogramContEncoder
    from .pipeline_spectrogram_diffusion import (
        SpectrogramContEncoder,
        SpectrogramDiffusionPipeline,
        TaFilmDecoder,
    )

try:
    if not (is_transformers_available() and is_torch_available() and is_note_seq_available()):
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    from ...utils.dummy_transformers_and_torch_and_note_seq_objects import *  # noqa F403
else:
    from .midi_utils import MidiProcessor








'''simple docstring'''





from ..utils import DummyObject, requires_backends



class  snake_case__						(    metaclass=SCREAMING_SNAKE_CASE_				):
 A__				= ['''note_seq''']
 def __init__(   self						:							Tuple      ,     *__a						:							int      ,     **__a						:							List[str]  )      ->   Any:







       '''simple docstring'''
       requires_backends(self      ,     ['note_seq']  )
 @classmethod
 def A_   (   cls						:							Optional[Any]      ,     *__a						:							Optional[Any]      ,     **__a						:							List[str]  )      ->   Union[str, Any]:







       '''simple docstring'''
       requires_backends(cls      ,     ['note_seq']  )





 @classmethod
 def A_   (   cls						:							List[Any]      ,     *__a						:							Union[str, Any]      ,     **__a						:							List[str]  )      ->   Any:







       '''simple docstring'''
       requires_backends(cls      ,     ['note_seq']  )



