Calberix commited on
Commit
768ce18
·
verified ·
1 Parent(s): b4f353c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -3
README.md CHANGED
@@ -1,3 +1,9 @@
1
- ---
2
- license: gfdl
3
- ---
 
 
 
 
 
 
 
1
+ ---
2
+ license: gfdl
3
+ ---
4
+ from diffusers import DiffusionPipeline
5
+
6
+ pipe = DiffusionPipeline.from_pretrained("ByteDance/SDXL-Lightning")
7
+
8
+ prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
9
+ image = pipe(prompt).images[0]