Spaces:
Runtime error
Runtime error
stupidog04
commited on
Commit
·
52ea582
1
Parent(s):
1211632
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def inference(video, lang, time_step):
|
|
50 |
frame_rate = vidcap.get(cv2.CAP_PROP_FPS)
|
51 |
output_frames = []
|
52 |
temporal_profiles = []
|
53 |
-
compress_mp4 =
|
54 |
|
55 |
# Get the positions of the largest boxes in the first frame
|
56 |
bounds = reader.readtext(frame)
|
|
|
50 |
frame_rate = vidcap.get(cv2.CAP_PROP_FPS)
|
51 |
output_frames = []
|
52 |
temporal_profiles = []
|
53 |
+
compress_mp4 = True
|
54 |
|
55 |
# Get the positions of the largest boxes in the first frame
|
56 |
bounds = reader.readtext(frame)
|