Text-to-Image
Diffusers
Felguk commited on
Commit
eddb39e
·
verified ·
1 Parent(s): 7bbf23a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -1
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)