Download test.py from wk12k/test: direct link, hf CLI and curl.
- Browser
- Download file 245 Bytes
-
https://huggingface.co/wk12k/test/resolve/main/test.py
- Command line
-
hf download hf://wk12k/test/test.py
-
curl -L -o test.py https://huggingface.co/wk12k/test/resolve/main/test.py
245 Bytes
| from diffusers import DiffusionPipeline | |
| pipe = DiffusionPipeline.from_pretrained("OnomaAIResearch/Illustrious-xl-early-release-v0") | |
| prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" | |
| image = pipe(prompt).images[0] |