VishalD1234 commited on
Commit
5b8364f
·
verified ·
1 Parent(s): 1e0ba4a

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +1 -1
app2.py CHANGED
@@ -28,7 +28,7 @@ with open('delay_reasons.json', 'w') as f:
28
  def load_video(video_data, strategy='chat'):
29
  bridge.set_bridge('torch')
30
  mp4_stream = video_data
31
- num_frames = 48
32
  decord_vr = VideoReader(io.BytesIO(mp4_stream), ctx=cpu(0))
33
  frame_id_list = []
34
  total_frames = len(decord_vr)
 
28
  def load_video(video_data, strategy='chat'):
29
  bridge.set_bridge('torch')
30
  mp4_stream = video_data
31
+ num_frames = 24
32
  decord_vr = VideoReader(io.BytesIO(mp4_stream), ctx=cpu(0))
33
  frame_id_list = []
34
  total_frames = len(decord_vr)