File size: 346 Bytes
0579536
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
---
library_name: peft
pipeline_tag: text-to-image
---
```python
from diffusers import DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained("akameswa/lcm-tiny-sd").to("cuda")

prompt = "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k"
image = pipe(prompt=prompt, num_inference_steps=4, guidance_scale=1.0).images[0]
```