Update README.md
Browse files
README.md
CHANGED
|
@@ -47,7 +47,7 @@ prior_output = prior(
|
|
| 47 |
negative_prompt=negative_prompt,
|
| 48 |
guidance_scale=6.0,
|
| 49 |
num_images_per_prompt=1,
|
| 50 |
-
num_inference_steps=
|
| 51 |
)
|
| 52 |
|
| 53 |
decoder.enable_model_cpu_offload()
|
|
@@ -55,7 +55,7 @@ decoder_output = decoder(
|
|
| 55 |
image_embeddings=prior_output.image_embeddings.to(torch.float16),
|
| 56 |
prompt=prompt,
|
| 57 |
negative_prompt=negative_prompt,
|
| 58 |
-
guidance_scale=
|
| 59 |
output_type="pil",
|
| 60 |
num_inference_steps=10
|
| 61 |
).images[0]
|
|
|
|
| 47 |
negative_prompt=negative_prompt,
|
| 48 |
guidance_scale=6.0,
|
| 49 |
num_images_per_prompt=1,
|
| 50 |
+
num_inference_steps=40
|
| 51 |
)
|
| 52 |
|
| 53 |
decoder.enable_model_cpu_offload()
|
|
|
|
| 55 |
image_embeddings=prior_output.image_embeddings.to(torch.float16),
|
| 56 |
prompt=prompt,
|
| 57 |
negative_prompt=negative_prompt,
|
| 58 |
+
guidance_scale=2.0,
|
| 59 |
output_type="pil",
|
| 60 |
num_inference_steps=10
|
| 61 |
).images[0]
|