Spaces:
Sleeping
Sleeping
Update video_processing.py
Browse files- video_processing.py +4 -1
video_processing.py
CHANGED
@@ -63,7 +63,10 @@ def analyze_scenes(video_path, scenes, description):
|
|
63 |
negative_descriptions = [
|
64 |
"black screen",
|
65 |
"Intro text for a video",
|
66 |
-
"dark scene without much contrast"
|
|
|
|
|
|
|
67 |
]
|
68 |
|
69 |
# Tokenize and encode the description text
|
|
|
63 |
negative_descriptions = [
|
64 |
"black screen",
|
65 |
"Intro text for a video",
|
66 |
+
"dark scene without much contrast",
|
67 |
+
"No people are in this scene",
|
68 |
+
"A still shot of natural scenery",
|
69 |
+
"Still-camera shot of a person's face"
|
70 |
]
|
71 |
|
72 |
# Tokenize and encode the description text
|