dummy_scipy_objects.py 639 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This file is autogenerated by the command `make fix-copies`, do not edit.
# flake8: noqa
from ..utils import DummyObject, requires_backends


class LmsDiscreteScheduler(metaclass=DummyObject):
    _backends = ["scipy"]

    def __init__(self, *args, **kwargs):
        requires_backends(self, ["scipy"])


class LDMTextToImagePipeline(metaclass=DummyObject):
    _backends = ["scipy"]

    def __init__(self, *args, **kwargs):
        requires_backends(self, ["scipy"])


class StableDiffusionPipeline(metaclass=DummyObject):
    _backends = ["scipy"]

    def __init__(self, *args, **kwargs):
        requires_backends(self, ["scipy"])