lcm-tiny-sd / README.md
akameswa's picture
Create README.md
0579536 verified
|
raw
history blame
346 Bytes
metadata
library_name: peft
pipeline_tag: text-to-image
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]