patrickvonplaten commited on
Commit
a260c1a
1 Parent(s): 7bc50e8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -35,14 +35,14 @@ pip install --upgrade diffusers transformers accelerate peft
35
 
36
  ### Text-to-Image
37
 
38
- The adapter can be loaded with it's base model `runwayml/stable-diffusion-v1-5`. Next, the scheduler needs to be changed to [`LCMScheduler`](https://huggingface.co/docs/diffusers/v0.22.3/en/api/schedulers/lcm#diffusers.LCMScheduler) and we can reduce the number of inference steps to just 2 to 8 steps.
39
  Please make sure to either disable `guidance_scale` or use values between 1.0 and 2.0.
40
 
41
  ```python
42
  import torch
43
  from diffusers import LCMScheduler, AutoPipelineForText2Image
44
 
45
- model_id = "runwayml/stable-diffusion-v1-5"
46
  adapter_id = "latent-consistency/lcm-lora-sdv1-5"
47
 
48
  pipe = AutoPipelineForText2Image.from_pretrained(model_id, torch_dtype=torch.float16, variant="fp16")
 
35
 
36
  ### Text-to-Image
37
 
38
+ The adapter can be loaded with SDv1-5 or deviratives. Here we use `Lykon/dreamshaper-7`. Next, the scheduler needs to be changed to [`LCMScheduler`](https://huggingface.co/docs/diffusers/v0.22.3/en/api/schedulers/lcm#diffusers.LCMScheduler) and we can reduce the number of inference steps to just 2 to 8 steps.
39
  Please make sure to either disable `guidance_scale` or use values between 1.0 and 2.0.
40
 
41
  ```python
42
  import torch
43
  from diffusers import LCMScheduler, AutoPipelineForText2Image
44
 
45
+ model_id = "Lykon/dreamshaper-7"
46
  adapter_id = "latent-consistency/lcm-lora-sdv1-5"
47
 
48
  pipe = AutoPipelineForText2Image.from_pretrained(model_id, torch_dtype=torch.float16, variant="fp16")