akameswa commited on
Commit
0579536
1 Parent(s): bcc48ad

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -0
README.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ pipeline_tag: text-to-image
4
+ ---
5
+ ```python
6
+ from diffusers import DiffusionPipeline
7
+
8
+ pipe = DiffusionPipeline.from_pretrained("akameswa/lcm-tiny-sd").to("cuda")
9
+
10
+ prompt = "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k"
11
+ image = pipe(prompt=prompt, num_inference_steps=4, guidance_scale=1.0).images[0]
12
+ ```