Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ def invert_and_edit(image,
|
|
70 |
eta=eta,
|
71 |
).images[0]
|
72 |
|
73 |
-
return output, inverted_latents
|
74 |
|
75 |
# UI CSS
|
76 |
css = """
|
@@ -93,6 +93,7 @@ with gr.Blocks(css=css) as demo:
|
|
93 |
### Edit real images with FLUX.1 [dev]
|
94 |
based on the algorithm proposed in [*Semantic Image Inversion and Editing using
|
95 |
Stochastic Rectified Differential Equations*](https://rf-inversion.github.io/data/rf-inversion.pdf)
|
|
|
96 |
[[non-commercial license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)] [[project page](https://rf-inversion.github.io/) [[arxiv](https://arxiv.org/pdf/2410.10792)]
|
97 |
""")
|
98 |
|
|
|
70 |
eta=eta,
|
71 |
).images[0]
|
72 |
|
73 |
+
return output, inverted_latents, image_latents, latent_image_ids, do_inversion, seed
|
74 |
|
75 |
# UI CSS
|
76 |
css = """
|
|
|
93 |
### Edit real images with FLUX.1 [dev]
|
94 |
based on the algorithm proposed in [*Semantic Image Inversion and Editing using
|
95 |
Stochastic Rectified Differential Equations*](https://rf-inversion.github.io/data/rf-inversion.pdf)
|
96 |
+
|
97 |
[[non-commercial license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)] [[project page](https://rf-inversion.github.io/) [[arxiv](https://arxiv.org/pdf/2410.10792)]
|
98 |
""")
|
99 |
|