|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from . import DummyObject, requires_backends |
|
|
|
|
|
class AltDiffusionImg2ImgPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class AltDiffusionPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class CycleDiffusionPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class LDMTextToImagePipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class PaintByExamplePipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class StableDiffusionDepth2ImgPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class StableDiffusionImageVariationPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class StableDiffusionImg2ImgPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class StableDiffusionInpaintPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class StableDiffusionInpaintPipelineLegacy(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class StableDiffusionPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class StableDiffusionMegaPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class StableDiffusionPipelineAllInOne(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class StableDiffusionPipelineSafe(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class StableDiffusionUpscalePipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class UnCLIPPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class VersatileDiffusionDualGuidedPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class VersatileDiffusionImageVariationPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class VersatileDiffusionPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class VersatileDiffusionTextToImagePipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
|
|
class VQDiffusionPipeline(metaclass=DummyObject): |
|
_backends = ["paddle", "paddlenlp"] |
|
|
|
def __init__(self, *args, **kwargs): |
|
requires_backends(self, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_config(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|
|
@classmethod |
|
def from_pretrained(cls, *args, **kwargs): |
|
requires_backends(cls, ["paddle", "paddlenlp"]) |
|
|