jschwab21 commited on
Commit
247d989
·
verified ·
1 Parent(s): a82f04a

Update video_processing.py

Browse files
Files changed (1) hide show
  1. video_processing.py +1 -1
video_processing.py CHANGED
@@ -93,7 +93,7 @@ def extract_frames(video, start_time, end_time):
93
  frames.append(frame)
94
  return frames
95
 
96
- def analyze_scenes(video_path, scenes, description, batch_size=6):
97
  scene_scores = []
98
  negative_descriptions = [
99
  "black screen",
 
93
  frames.append(frame)
94
  return frames
95
 
96
+ def analyze_scenes(video_path, scenes, description, batch_size=4):
97
  scene_scores = []
98
  negative_descriptions = [
99
  "black screen",