mapo-beta / README.md
cpuimage's picture
Update README.md
7c2be7d verified
|
Raw
History Blame Contribute Delete
561 Bytes
```python
from diffusers import StableDiffusionXLPipeline
import torch
# download from https://huggingface.co/cpuimage/mapo-beta/sd_xl_mapo-beta.safetensors
safetensors_file = "sd_xl_mapo-beta.safetensors"
pipeline = StableDiffusionXLPipeline.from_single_file(safetensors_file, torch_dtype=torch.float16).to("cuda")
prompt = "A lion with eagle wings coming out of the sea , digital Art, Greg rutkowski, Trending artstation, cinematographic, hyperrealistic"
image = pipeline(prompt=prompt, num_inference_steps=30).images[0]
```
---
license: openrail++
---