Spaces:
Sleeping
Sleeping
Sean Carnahan
commited on
Commit
·
1a0875b
1
Parent(s):
8e844fb
Fix MoveNet output URL to return correct video path for frontend
Browse files
app.py
CHANGED
@@ -258,7 +258,8 @@ def process_video_movenet(video_path):
|
|
258 |
out.release()
|
259 |
|
260 |
print(f"[DEBUG] Processed {processed_frames} frames out of {total_frames} total frames")
|
261 |
-
|
|
|
262 |
|
263 |
except Exception as e:
|
264 |
print(f"[ERROR] Error in process_video_movenet: {str(e)}")
|
|
|
258 |
out.release()
|
259 |
|
260 |
print(f"[DEBUG] Processed {processed_frames} frames out of {total_frames} total frames")
|
261 |
+
# Return the correct URL for the output video
|
262 |
+
return url_for('serve_video', filename=output_filename, _external=False)
|
263 |
|
264 |
except Exception as e:
|
265 |
print(f"[ERROR] Error in process_video_movenet: {str(e)}")
|