fffiloni commited on
Commit
051c943
·
verified ·
1 Parent(s): 0ca2a07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,7 +122,7 @@ def video_vision(video_input_path, prompt):
122
  video = cv2.VideoWriter(output_video, fourcc, 24.0, (width, height))
123
 
124
  # Iterate over the image paths and write to the video
125
- for img_path in images:
126
  frame = cv2.imread(img_path)
127
  video.write(frame)
128
 
 
122
  video = cv2.VideoWriter(output_video, fourcc, 24.0, (width, height))
123
 
124
  # Iterate over the image paths and write to the video
125
+ for img_path in seg_frames:
126
  frame = cv2.imread(img_path)
127
  video.write(frame)
128