Skip to content

Commit 43534a8

Browse files
authored
[community pipeline rf-inversion] - fix example in doc (#10179)
* fix example in doc * remove redundancies * change param
1 parent 65b98b5 commit 43534a8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/community/pipeline_flux_rf_inversion.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@
5353
Examples:
5454
```py
5555
>>> import torch
56-
>>> from diffusers import FluxPipeline
56+
>>> import requests
57+
>>> import PIL
58+
>>> from io import BytesIO
59+
>>> from diffusers import DiffusionPipeline
5760
5861
>>> pipe = DiffusionPipeline.from_pretrained(
5962
... "black-forest-labs/FLUX.1-dev",
@@ -77,10 +80,7 @@
7780
... image_latents=image_latents,
7881
... latent_image_ids=latent_image_ids,
7982
... start_timestep=0,
80-
... stop_timestep=.38,
81-
... num_inference_steps=28,
82-
... eta=0.9,
83-
... stop_timestep=.38,
83+
... stop_timestep=.25,
8484
... num_inference_steps=28,
8585
... eta=0.9,
8686
... ).images[0]

0 commit comments

Comments
 (0)