Linoy Tsaban
commited on
Commit
·
580b93b
1
Parent(s):
3cc1754
Update app.py
Browse files
app.py
CHANGED
|
@@ -289,7 +289,8 @@ with gr.Blocks(css='style.css') as demo:
|
|
| 289 |
invert_button.click(
|
| 290 |
fn = randomize_seed_fn,
|
| 291 |
inputs = [seed, randomize_seed],
|
| 292 |
-
outputs = [seed]
|
|
|
|
| 293 |
fn=invert_and_reconstruct,
|
| 294 |
inputs=[input_image,
|
| 295 |
do_inversion,
|
|
|
|
| 289 |
invert_button.click(
|
| 290 |
fn = randomize_seed_fn,
|
| 291 |
inputs = [seed, randomize_seed],
|
| 292 |
+
outputs = [seed],
|
| 293 |
+
queue = False).then(
|
| 294 |
fn=invert_and_reconstruct,
|
| 295 |
inputs=[input_image,
|
| 296 |
do_inversion,
|