Download src/diffusers_/__init__.py from HiPer0/HiPer: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/spaces/HiPer0/HiPer/resolve/main/src/diffusers_/__init__.py
- Command line
-
hf download hf://spaces/HiPer0/HiPer/src/diffusers_/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/HiPer0/HiPer/resolve/main/src/diffusers_/__init__.py
317 Bytes
| from .utils import ( | |
| is_torch_available, | |
| is_transformers_available, | |
| ) | |
| __version__ = "0.9.0" | |
| if is_torch_available() and is_transformers_available(): | |
| from .stable_diffusion import ( | |
| StableDiffusionPipeline, | |
| ) | |
| else: | |
| from .utils.dummy_torch_and_transformers_objects import * # noqa F403 | |