Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
c37757d
1
Parent(s):
6207a5b
Update app.py
Browse files
app.py
CHANGED
@@ -480,7 +480,10 @@ with gr.Blocks(css='style.css') as demo:
|
|
480 |
|
481 |
hide_reconstruct_button.click(fn = hide_reconstruction,
|
482 |
outputs=[ddpm_edited_image],
|
483 |
-
queue=False)
|
|
|
|
|
|
|
484 |
|
485 |
|
486 |
# Repeat inversion when these params are changed:
|
|
|
480 |
|
481 |
hide_reconstruct_button.click(fn = hide_reconstruction,
|
482 |
outputs=[ddpm_edited_image],
|
483 |
+
queue=False).then(fn = hide_reconstruction_buttons,
|
484 |
+
outputs=[reconstruct_button,
|
485 |
+
hide_reconstruct_button]).then(fn = show_reconstruction_button,
|
486 |
+
outputs=[reconstruct_button])
|
487 |
|
488 |
|
489 |
# Repeat inversion when these params are changed:
|