hyoungwoncho
commited on
Commit
•
fafd3b5
1
Parent(s):
b66c6b2
Update README.md
Browse files
README.md
CHANGED
@@ -41,28 +41,28 @@ Sampling with PAG:
|
|
41 |
|
42 |
```
|
43 |
output = pipe(
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
```
|
53 |
|
54 |
Sampling with PAG and CFG:
|
55 |
|
56 |
```
|
57 |
output = pipe(
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
```
|
67 |
|
68 |
## Parameters
|
|
|
41 |
|
42 |
```
|
43 |
output = pipe(
|
44 |
+
prompts,
|
45 |
+
width=512,
|
46 |
+
height=512,
|
47 |
+
num_inference_steps=50,
|
48 |
+
guidance_scale=0.0,
|
49 |
+
pag_scale=5.0,
|
50 |
+
pag_applied_layers_index=['m0']
|
51 |
+
).images
|
52 |
```
|
53 |
|
54 |
Sampling with PAG and CFG:
|
55 |
|
56 |
```
|
57 |
output = pipe(
|
58 |
+
prompts,
|
59 |
+
width=512,
|
60 |
+
height=512,
|
61 |
+
num_inference_steps=50,
|
62 |
+
guidance_scale=4.0,
|
63 |
+
pag_scale=3.0,
|
64 |
+
pag_applied_layers_index=['m0']
|
65 |
+
).images
|
66 |
```
|
67 |
|
68 |
## Parameters
|