Create README.md
Browse files
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 |
+
```
|