Update README.md
Browse files
README.md
CHANGED
|
@@ -34,7 +34,7 @@ prior_output = prior(
|
|
| 34 |
negative_prompt=negative_prompt,
|
| 35 |
guidance_scale=6.0,
|
| 36 |
num_images_per_prompt=1,
|
| 37 |
-
num_inference_steps=
|
| 38 |
)
|
| 39 |
|
| 40 |
decoder.enable_model_cpu_offload()
|
|
@@ -42,7 +42,7 @@ decoder_output = decoder(
|
|
| 42 |
image_embeddings=prior_output.image_embeddings.to(torch.float16),
|
| 43 |
prompt=prompt,
|
| 44 |
negative_prompt=negative_prompt,
|
| 45 |
-
guidance_scale=
|
| 46 |
output_type="pil",
|
| 47 |
num_inference_steps=10
|
| 48 |
).images[0]
|
|
|
|
| 34 |
negative_prompt=negative_prompt,
|
| 35 |
guidance_scale=6.0,
|
| 36 |
num_images_per_prompt=1,
|
| 37 |
+
num_inference_steps=40
|
| 38 |
)
|
| 39 |
|
| 40 |
decoder.enable_model_cpu_offload()
|
|
|
|
| 42 |
image_embeddings=prior_output.image_embeddings.to(torch.float16),
|
| 43 |
prompt=prompt,
|
| 44 |
negative_prompt=negative_prompt,
|
| 45 |
+
guidance_scale=2.0,
|
| 46 |
output_type="pil",
|
| 47 |
num_inference_steps=10
|
| 48 |
).images[0]
|