Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ After recording or uploading a video, switch to the **LBW Review** tab and click
|
|
122 |
annotated_video_output = gr.Video(label="Annotated replay video")
|
123 |
trajectory_plot_output = gr.Image(label="3D Trajectory plot")
|
124 |
|
125 |
-
def on_analyse(
|
126 |
if not video_path or not os.path.exists(video_path):
|
127 |
return (
|
128 |
"Please record or upload a video in the first tab.",
|
|
|
122 |
annotated_video_output = gr.Video(label="Annotated replay video")
|
123 |
trajectory_plot_output = gr.Image(label="3D Trajectory plot")
|
124 |
|
125 |
+
def on_analyse(video_path):
|
126 |
if not video_path or not os.path.exists(video_path):
|
127 |
return (
|
128 |
"Please record or upload a video in the first tab.",
|