Linoy Tsaban
commited on
Commit
•
8bf8509
1
Parent(s):
a46f027
Update app.py
Browse files
app.py
CHANGED
@@ -649,13 +649,11 @@ with gr.Blocks(css="style.css") as demo:
|
|
649 |
|
650 |
input_image.change(
|
651 |
fn = reset_do_inversion,
|
652 |
-
inputs = [input_image],
|
653 |
outputs = [do_inversion],
|
654 |
queue = False)
|
655 |
# Automatically start inverting upon input_image change
|
656 |
input_image.upload(
|
657 |
fn = reset_do_inversion,
|
658 |
-
inputs = [input_image],
|
659 |
outputs = [do_inversion],
|
660 |
queue = False).then(fn = caption_image,
|
661 |
inputs = [input_image],
|
|
|
649 |
|
650 |
input_image.change(
|
651 |
fn = reset_do_inversion,
|
|
|
652 |
outputs = [do_inversion],
|
653 |
queue = False)
|
654 |
# Automatically start inverting upon input_image change
|
655 |
input_image.upload(
|
656 |
fn = reset_do_inversion,
|
|
|
657 |
outputs = [do_inversion],
|
658 |
queue = False).then(fn = caption_image,
|
659 |
inputs = [input_image],
|