Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ def run(duration=180):
|
|
| 74 |
with gr.Blocks() as demo:
|
| 75 |
image = gr.Image()
|
| 76 |
button1 = gr.Button()
|
| 77 |
-
button1.
|
| 78 |
button2 = gr.Button()
|
| 79 |
video = gr.Video()
|
| 80 |
button2.click(fn=run,outputs=video)
|
|
|
|
| 74 |
with gr.Blocks() as demo:
|
| 75 |
image = gr.Image()
|
| 76 |
button1 = gr.Button()
|
| 77 |
+
button1.click(fn=add_new_image,inputs=image)
|
| 78 |
button2 = gr.Button()
|
| 79 |
video = gr.Video()
|
| 80 |
button2.click(fn=run,outputs=video)
|