Linoy Tsaban
commited on
Commit
·
d6543a7
1
Parent(s):
078a9c5
Update app.py
Browse files
app.py
CHANGED
|
@@ -281,7 +281,8 @@ with gr.Blocks(css='style.css') as demo:
|
|
| 281 |
invert_button.click(
|
| 282 |
fn = randomize_seed_fn,
|
| 283 |
inputs = [seed, randomize_seed],
|
| 284 |
-
outputs = [seed]
|
|
|
|
| 285 |
).then(
|
| 286 |
fn=invert_and_reconstruct,
|
| 287 |
inputs=[input_image,
|
|
|
|
| 281 |
invert_button.click(
|
| 282 |
fn = randomize_seed_fn,
|
| 283 |
inputs = [seed, randomize_seed],
|
| 284 |
+
outputs = [seed],
|
| 285 |
+
queue=False
|
| 286 |
).then(
|
| 287 |
fn=invert_and_reconstruct,
|
| 288 |
inputs=[input_image,
|