Spaces:
Build error
Build error
Download diffusers/utils/dummy_transformers_objects.py from unbee/Diffusion-Attentive-Attribution-Maps: direct link, hf CLI and curl.
- Browser
- Download file 880 Bytes
-
https://huggingface.co/spaces/unbee/Diffusion-Attentive-Attribution-Maps/resolve/main/diffusers/utils/dummy_transformers_objects.py
- Command line
-
hf download hf://spaces/unbee/Diffusion-Attentive-Attribution-Maps/diffusers/utils/dummy_transformers_objects.py
-
curl -L -o dummy_transformers_objects.py https://huggingface.co/spaces/unbee/Diffusion-Attentive-Attribution-Maps/resolve/main/diffusers/utils/dummy_transformers_objects.py
880 Bytes
| # This file is autogenerated by the command `make fix-copies`, do not edit. | |
| # flake8: noqa | |
| from ..utils import DummyObject, requires_backends | |
| class LDMTextToImagePipeline(metaclass=DummyObject): | |
| _backends = ["transformers"] | |
| def __init__(self, *args, **kwargs): | |
| requires_backends(self, ["transformers"]) | |
| class StableDiffusionImg2ImgPipeline(metaclass=DummyObject): | |
| _backends = ["transformers"] | |
| def __init__(self, *args, **kwargs): | |
| requires_backends(self, ["transformers"]) | |
| class StableDiffusionInpaintPipeline(metaclass=DummyObject): | |
| _backends = ["transformers"] | |
| def __init__(self, *args, **kwargs): | |
| requires_backends(self, ["transformers"]) | |
| class StableDiffusionPipeline(metaclass=DummyObject): | |
| _backends = ["transformers"] | |
| def __init__(self, *args, **kwargs): | |
| requires_backends(self, ["transformers"]) | |