Upload folder using huggingface_hub
Browse files
main/pipeline_flux_rf_inversion.py
CHANGED
@@ -53,7 +53,10 @@ EXAMPLE_DOC_STRING = """
|
|
53 |
Examples:
|
54 |
```py
|
55 |
>>> import torch
|
56 |
-
>>>
|
|
|
|
|
|
|
57 |
|
58 |
>>> pipe = DiffusionPipeline.from_pretrained(
|
59 |
... "black-forest-labs/FLUX.1-dev",
|
@@ -77,10 +80,7 @@ EXAMPLE_DOC_STRING = """
|
|
77 |
... image_latents=image_latents,
|
78 |
... latent_image_ids=latent_image_ids,
|
79 |
... start_timestep=0,
|
80 |
-
... stop_timestep=.
|
81 |
-
... num_inference_steps=28,
|
82 |
-
... eta=0.9,
|
83 |
-
... stop_timestep=.38,
|
84 |
... num_inference_steps=28,
|
85 |
... eta=0.9,
|
86 |
... ).images[0]
|
|
|
53 |
Examples:
|
54 |
```py
|
55 |
>>> import torch
|
56 |
+
>>> import requests
|
57 |
+
>>> import PIL
|
58 |
+
>>> from io import BytesIO
|
59 |
+
>>> from diffusers import DiffusionPipeline
|
60 |
|
61 |
>>> pipe = DiffusionPipeline.from_pretrained(
|
62 |
... "black-forest-labs/FLUX.1-dev",
|
|
|
80 |
... image_latents=image_latents,
|
81 |
... latent_image_ids=latent_image_ids,
|
82 |
... start_timestep=0,
|
83 |
+
... stop_timestep=.25,
|
|
|
|
|
|
|
84 |
... num_inference_steps=28,
|
85 |
... eta=0.9,
|
86 |
... ).images[0]
|