Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
6c0d729
1
Parent(s):
d71bc95
Update app.py
Browse files
app.py
CHANGED
@@ -495,7 +495,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
495 |
# outputs=[ddpm_edited_image, wts, zs, do_inversion],
|
496 |
outputs=[wts, zs, do_inversion, inversion_progress],
|
497 |
).then(fn = hide_inversion_progress, outputs=[inversion_progress],queue=False).then(
|
498 |
-
fn =reset_do_reconstruction, outputs=[
|
499 |
|
500 |
hide_reconstruct_button.click(fn = hide_reconstruction,
|
501 |
outputs=[ddpm_edited_image],
|
@@ -509,16 +509,16 @@ with gr.Blocks(css='style.css') as demo:
|
|
509 |
fn = reset_do_inversion,
|
510 |
outputs = [do_inversion], queue = False
|
511 |
).then(
|
512 |
-
fn =reset_do_reconstruction, outputs=[
|
513 |
|
514 |
steps.change(fn = reset_do_inversion,
|
515 |
outputs = [do_inversion], queue = False).then(
|
516 |
-
fn =reset_do_reconstruction, outputs=[
|
517 |
|
518 |
|
519 |
src_cfg_scale.change(fn = reset_do_inversion,
|
520 |
outputs = [do_inversion], queue = False).then(
|
521 |
-
fn =reset_do_reconstruction, outputs=[
|
522 |
|
523 |
|
524 |
|
|
|
495 |
# outputs=[ddpm_edited_image, wts, zs, do_inversion],
|
496 |
outputs=[wts, zs, do_inversion, inversion_progress],
|
497 |
).then(fn = hide_inversion_progress, outputs=[inversion_progress],queue=False).then(
|
498 |
+
fn =reset_do_reconstruction, outputs=[do_reconstruction])
|
499 |
|
500 |
hide_reconstruct_button.click(fn = hide_reconstruction,
|
501 |
outputs=[ddpm_edited_image],
|
|
|
509 |
fn = reset_do_inversion,
|
510 |
outputs = [do_inversion], queue = False
|
511 |
).then(
|
512 |
+
fn =reset_do_reconstruction, outputs=[do_reconstruction])
|
513 |
|
514 |
steps.change(fn = reset_do_inversion,
|
515 |
outputs = [do_inversion], queue = False).then(
|
516 |
+
fn =reset_do_reconstruction, outputs=[do_reconstruction])
|
517 |
|
518 |
|
519 |
src_cfg_scale.change(fn = reset_do_inversion,
|
520 |
outputs = [do_inversion], queue = False).then(
|
521 |
+
fn =reset_do_reconstruction, outputs=[do_reconstruction])
|
522 |
|
523 |
|
524 |
|