Download icedit/diffusers/utils/dummy_note_seq_objects.py from byterise/ICEdit: direct link, hf CLI and curl.
- Browser
- Download file 506 Bytes
-
https://huggingface.co/spaces/byterise/ICEdit/resolve/main/icedit/diffusers/utils/dummy_note_seq_objects.py
- Command line
-
hf download hf://spaces/byterise/ICEdit/icedit/diffusers/utils/dummy_note_seq_objects.py
-
curl -L -o dummy_note_seq_objects.py https://huggingface.co/spaces/byterise/ICEdit/resolve/main/icedit/diffusers/utils/dummy_note_seq_objects.py
506 Bytes
| # This file is autogenerated by the command `make fix-copies`, do not edit. | |
| from ..utils import DummyObject, requires_backends | |
| class MidiProcessor(metaclass=DummyObject): | |
| _backends = ["note_seq"] | |
| def __init__(self, *args, **kwargs): | |
| requires_backends(self, ["note_seq"]) | |
| def from_config(cls, *args, **kwargs): | |
| requires_backends(cls, ["note_seq"]) | |
| def from_pretrained(cls, *args, **kwargs): | |
| requires_backends(cls, ["note_seq"]) | |