Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def doo(video):
|
|
| 16 |
|
| 17 |
writer = None
|
| 18 |
frame_count = 0
|
| 19 |
-
max_frames =
|
| 20 |
segment_count = 0 # Count of video segments processed
|
| 21 |
|
| 22 |
total_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT)) # Total number of frames in the video
|
|
|
|
| 16 |
|
| 17 |
writer = None
|
| 18 |
frame_count = 0
|
| 19 |
+
max_frames = 50 # Maximum number of frames to process at a time
|
| 20 |
segment_count = 0 # Count of video segments processed
|
| 21 |
|
| 22 |
total_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT)) # Total number of frames in the video
|