Download diffusers/examples/inference/image_to_image.py from basyd/sfx: direct link, hf CLI and curl.
- Browser
- Download file 243 Bytes
-
https://huggingface.co/spaces/basyd/sfx/resolve/main/diffusers/examples/inference/image_to_image.py
- Command line
-
hf download hf://spaces/basyd/sfx/diffusers/examples/inference/image_to_image.py
-
curl -L -o image_to_image.py https://huggingface.co/spaces/basyd/sfx/resolve/main/diffusers/examples/inference/image_to_image.py
243 Bytes
| import warnings | |
| from diffusers import StableDiffusionImg2ImgPipeline # noqa F401 | |
| warnings.warn( | |
| "The `image_to_image.py` script is outdated. Please use directly `from diffusers import" | |
| " StableDiffusionImg2ImgPipeline` instead." | |
| ) | |