Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -72,8 +72,8 @@ def invert_and_edit(image,
|
|
72 |
stop_timestep = stop_timestep/num_inference_steps,
|
73 |
num_inference_steps = num_inference_steps,
|
74 |
eta=eta,
|
75 |
-
|
76 |
-
|
77 |
).images[0]
|
78 |
|
79 |
return output, inverted_latents.cpu(), image_latents.cpu(), latent_image_ids.cpu(), do_inversion, seed
|
@@ -120,7 +120,7 @@ based on the implementations of [@raven38](https://github.com/raven38) & [@DarkM
|
|
120 |
with gr.Row():
|
121 |
start_timestep = gr.Slider(
|
122 |
label="start timestep",
|
123 |
-
info = "
|
124 |
minimum=0,
|
125 |
maximum=28,
|
126 |
step=1,
|
|
|
72 |
stop_timestep = stop_timestep/num_inference_steps,
|
73 |
num_inference_steps = num_inference_steps,
|
74 |
eta=eta,
|
75 |
+
decay_eta = eta_decay,
|
76 |
+
eta_decay_power = decay_power,
|
77 |
).images[0]
|
78 |
|
79 |
return output, inverted_latents.cpu(), image_latents.cpu(), latent_image_ids.cpu(), do_inversion, seed
|
|
|
120 |
with gr.Row():
|
121 |
start_timestep = gr.Slider(
|
122 |
label="start timestep",
|
123 |
+
info = "increase to enhance fidelity, decrease to enhance realism",
|
124 |
minimum=0,
|
125 |
maximum=28,
|
126 |
step=1,
|