class SpectrogramDiffusionPipeline(metaclass=DummyObject):
    _backends = ["transformers", "torch", "note_seq"]

    def __init__(self, *args, **kwargs):
        requires_backends(self, ["transformers", "torch", "note_seq"])

    @classmethod
    def from_config(cls, *args, **kwargs):
        requires_backends(cls, ["transformers", "torch", "note_seq"])

    @classmethod
    def from_pretrained(cls, *args, **kwargs):
        requires_backends(cls, ["transformers", "torch", "note_seq"])
/Users/nielsrogge/Documents/python_projecten/diffusers/src/diffusers/utils/dummy_transformers_and_torch_and_note_seq_objects.py