Spaces:
Running
on
Zero
Running
on
Zero
Miquel Farre
commited on
Commit
·
f1ff2ea
1
Parent(s):
b575ddb
tweaking prompts
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ class VideoHighlightDetector:
|
|
87 |
"""Determine what constitutes highlights based on video description with different prompts."""
|
88 |
system_prompts = {
|
89 |
1: "You are a highlight editor. List archetypal dramatic moments that would make compelling highlights if they appear in the video. Each moment should be specific enough to be recognizable but generic enough to potentially exist in any video of this type.",
|
90 |
-
2: "You are a helpful visual-language assistant that can understand videos and edit. You are tasked helping the user to create highlight reels for videos.
|
91 |
}
|
92 |
user_prompts = {
|
93 |
1: "List potential highlight moments to look for in this video:",
|
|
|
87 |
"""Determine what constitutes highlights based on video description with different prompts."""
|
88 |
system_prompts = {
|
89 |
1: "You are a highlight editor. List archetypal dramatic moments that would make compelling highlights if they appear in the video. Each moment should be specific enough to be recognizable but generic enough to potentially exist in any video of this type.",
|
90 |
+
2: "You are a helpful visual-language assistant that can understand videos and edit. You are tasked helping the user to create highlight reels for videos. Highlights should be rare and important events in the video in question."
|
91 |
}
|
92 |
user_prompts = {
|
93 |
1: "List potential highlight moments to look for in this video:",
|