Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|
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 |
|