stupidog04 commited on
Commit
52ea582
·
1 Parent(s): 1211632

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = False
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)