Update README.md
Browse files
README.md
CHANGED
@@ -31,4 +31,11 @@ pip install torch transformers diffusers pillow
|
|
31 |
You can download this model using diffusion libary:
|
32 |
```bash
|
33 |
pip install diffusers
|
34 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
You can download this model using diffusion libary:
|
32 |
```bash
|
33 |
pip install diffusers
|
34 |
+
```
|
35 |
+
Next, download the model:
|
36 |
+
```bash
|
37 |
+
from diffusers import StableDiffusionPipeline
|
38 |
+
|
39 |
+
# Replace 'your-model-id' with the actual model ID on Hugging Face
|
40 |
+
model_id = "your-model-id"
|
41 |
+
pipeline = StableDiffusionPipeline.from_pretrained(model_id)
|