patrickvonplaten
commited on
Commit
•
3cbfc6f
1
Parent(s):
83866b7
final fix
Browse files
README.md
CHANGED
@@ -34,8 +34,9 @@ high_noise_frac = 0.7
|
|
34 |
|
35 |
prompt = "A majestic lion jumping from a big stone at night"
|
36 |
|
37 |
-
image =
|
38 |
image = refiner(prompt=prompt, num_inference_steps=n_steps, denoising_start=high_noise_frac, image=image).images[0]
|
|
|
39 |
```
|
40 |
|
41 |
![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/lion_refined.png)
|
|
|
34 |
|
35 |
prompt = "A majestic lion jumping from a big stone at night"
|
36 |
|
37 |
+
image = pipe(prompt=prompt, num_inference_steps=n_steps, denoising_end=high_noise_frac, output_type="latent").images
|
38 |
image = refiner(prompt=prompt, num_inference_steps=n_steps, denoising_start=high_noise_frac, image=image).images[0]
|
39 |
+
image
|
40 |
```
|
41 |
|
42 |
![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/lion_refined.png)
|