Update README.md
Browse files
README.md
CHANGED
@@ -52,6 +52,7 @@ Our inference process is speed up using [**LCM-LORA**](https://huggingface.co/la
|
|
52 |
```Python
|
53 |
pip install --upgrade pip
|
54 |
pip install --upgrade diffusers transformers accelerate peft
|
|
|
55 |
```
|
56 |
## Text to Image
|
57 |
Here, we should load two adapters, **LCM-LORA** for sample accleration and **Chinese_Ink_LORA** for styled rendering with it's base model stabilityai/stable-diffusion-xl-base-1.0.
|
@@ -60,6 +61,7 @@ Next, the scheduler needs to be changed to LCMScheduler and we can reduce the nu
|
|
60 |
```Python
|
61 |
import torch
|
62 |
from diffusers import DiffusionPipeline, LCMScheduler
|
|
|
63 |
|
64 |
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0",
|
65 |
variant="fp16",
|
|
|
52 |
```Python
|
53 |
pip install --upgrade pip
|
54 |
pip install --upgrade diffusers transformers accelerate peft
|
55 |
+
pip install matplotlib
|
56 |
```
|
57 |
## Text to Image
|
58 |
Here, we should load two adapters, **LCM-LORA** for sample accleration and **Chinese_Ink_LORA** for styled rendering with it's base model stabilityai/stable-diffusion-xl-base-1.0.
|
|
|
61 |
```Python
|
62 |
import torch
|
63 |
from diffusers import DiffusionPipeline, LCMScheduler
|
64 |
+
import matplotlib.pyplot as plt
|
65 |
|
66 |
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0",
|
67 |
variant="fp16",
|