Update README.md
Browse files
README.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
---
|
2 |
license: creativeml-openrail-m
|
|
|
3 |
---
|
4 |
LoRA based on Stability AI SDXL-Turbo, for more information on the main checkpoints: https://huggingface.co/stabilityai/sdxl-turbo
|
5 |
![xyz_grid-0007-2494203713-20231130151159.png](https://cdn-uploads.huggingface.co/production/uploads/64186a8b5d6f3d15c64cd821/L1-TOyK9XEErR0M5lwu4W.png)
|
6 |
|
7 |
-
Text-to-image
|
8 |
-
|
9 |
import torch
|
10 |
from diffusers import LCMScheduler, AutoPipelineForText2Image
|
11 |
|
@@ -21,4 +22,5 @@ pipe.fuse_lora()
|
|
21 |
|
22 |
prompt = "1 girl, wind"
|
23 |
|
24 |
-
image = pipe(prompt=prompt, num_inference_steps=4, guidance_scale=0).images[0]
|
|
|
|
1 |
---
|
2 |
license: creativeml-openrail-m
|
3 |
+
pipeline_tag: text-to-image
|
4 |
---
|
5 |
LoRA based on Stability AI SDXL-Turbo, for more information on the main checkpoints: https://huggingface.co/stabilityai/sdxl-turbo
|
6 |
![xyz_grid-0007-2494203713-20231130151159.png](https://cdn-uploads.huggingface.co/production/uploads/64186a8b5d6f3d15c64cd821/L1-TOyK9XEErR0M5lwu4W.png)
|
7 |
|
8 |
+
- **Text-to-image**:
|
9 |
+
```py
|
10 |
import torch
|
11 |
from diffusers import LCMScheduler, AutoPipelineForText2Image
|
12 |
|
|
|
22 |
|
23 |
prompt = "1 girl, wind"
|
24 |
|
25 |
+
image = pipe(prompt=prompt, num_inference_steps=4, guidance_scale=0).images[0]
|
26 |
+
"""
|