Spaces:
Sleeping
Sleeping
Update video_processing.py
Browse files- 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=
|
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=45):
|
97 |
scene_scores = []
|
98 |
negative_descriptions = [
|
99 |
"black screen",
|