Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files
app.py
CHANGED
@@ -813,13 +813,8 @@ if __name__ == "__main__":
|
|
813 |
outputs=[first_frame_path, last_frame_path, tracking_points],
|
814 |
)
|
815 |
|
816 |
-
|
817 |
-
|
818 |
-
inputs=[tracking_points, first_frame_path, last_frame_path],
|
819 |
-
outputs=[tracking_points, input_image, input_image_end],
|
820 |
-
)
|
821 |
-
|
822 |
-
input_image_end.select(
|
823 |
fn=add_tracking_points,
|
824 |
inputs=[tracking_points, first_frame_path, last_frame_path],
|
825 |
outputs=[tracking_points, input_image, input_image_end],
|
|
|
813 |
outputs=[first_frame_path, last_frame_path, tracking_points],
|
814 |
)
|
815 |
|
816 |
+
gr.on(
|
817 |
+
triggers=[input_image.select, input_image_end.select],
|
|
|
|
|
|
|
|
|
|
|
818 |
fn=add_tracking_points,
|
819 |
inputs=[tracking_points, first_frame_path, last_frame_path],
|
820 |
outputs=[tracking_points, input_image, input_image_end],
|