dschandra commited on
Commit
3bea94f
·
verified ·
1 Parent(s): 60b3ee0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import os
9
 
10
  def handle_upload(video_file):
11
  # Step 1: Extract frames and data
12
- video_path = video_file.name
13
  frames, metadata = process_video(video_path)
14
 
15
  # Step 2: Object detection and impact analysis
 
9
 
10
  def handle_upload(video_file):
11
  # Step 1: Extract frames and data
12
+ video_path = video_file
13
  frames, metadata = process_video(video_path)
14
 
15
  # Step 2: Object detection and impact analysis