Super-Resolution-Anime-Diffusion / diffusers /utils /dummy_flax_and_transformers_objects.py
YeOldHermit's picture
Duplicate from yangheng/Super-Resolution-Anime-Diffusion
9da7c8d
raw
history blame
584 Bytes
# This file is autogenerated by the command `make fix-copies`, do not edit.
# flake8: noqa
from ..utils import DummyObject, requires_backends
class FlaxStableDiffusionPipeline(metaclass=DummyObject):
_backends = ["flax", "transformers"]
def __init__(self, *args, **kwargs):
requires_backends(self, ["flax", "transformers"])
@classmethod
def from_config(cls, *args, **kwargs):
requires_backends(cls, ["flax", "transformers"])
@classmethod
def from_pretrained(cls, *args, **kwargs):
requires_backends(cls, ["flax", "transformers"])