Download diffusers/examples/inference/image_to_image.py from 6chan/Cobra: direct link, hf CLI and curl.
- Browser
- Download file 243 Bytes
-
https://huggingface.co/spaces/6chan/Cobra/resolve/main/diffusers/examples/inference/image_to_image.py
- Command line
-
hf download hf://spaces/6chan/Cobra/diffusers/examples/inference/image_to_image.py
-
curl -L -o image_to_image.py https://huggingface.co/spaces/6chan/Cobra/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." | |
| ) | |