patrickvonplaten commited on
Commit
86c11fe
1 Parent(s): 6f045d5

Improve default guidance scale

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -35,7 +35,9 @@ Install diffusers >= 0.24.0 and some dependencies:
35
  pip install transformers accelerate safetensors
36
  ```
37
 
38
- To use the model, run:
 
 
39
 
40
  ```python
41
  from diffusers import DiffusionPipeline
@@ -51,7 +53,7 @@ pipe = DiffusionPipeline.from_pretrained(
51
  pipe.to("cuda")
52
 
53
  prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
54
- image = pipe(prompt=prompt).images[0]
55
  ```
56
 
57
  ### User Study
 
35
  pip install transformers accelerate safetensors
36
  ```
37
 
38
+ To use the model, run the following snippet.
39
+
40
+ **Note**: It is recommend to use **`guidance_scale=3.0`**.
41
 
42
  ```python
43
  from diffusers import DiffusionPipeline
 
53
  pipe.to("cuda")
54
 
55
  prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
56
+ image = pipe(prompt=prompt, guidance_scale=3.0).images[0]
57
  ```
58
 
59
  ### User Study