Spaces:
Runtime error
Runtime error
Miquel Farre
commited on
Commit
·
bd08551
1
Parent(s):
2febd11
adjustments to old prompt
Browse files
app.py
CHANGED
|
@@ -120,12 +120,10 @@ class VideoHighlightDetector:
|
|
| 120 |
"role": "user",
|
| 121 |
"content": [
|
| 122 |
{"type": "video", "path": video_path},
|
| 123 |
-
{"type": "text", "text": f"""
|
| 124 |
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
Only answer yes if you see any of those moments and answer no if you don't."""}
|
| 129 |
]
|
| 130 |
}
|
| 131 |
]
|
|
|
|
| 120 |
"role": "user",
|
| 121 |
"content": [
|
| 122 |
{"type": "video", "path": video_path},
|
| 123 |
+
{"type": "text", "text": f"""{highlight_types}
|
| 124 |
|
| 125 |
+
|
| 126 |
+
Do you see any of those elements in the video? answer yes if you do and answer no if you don't."""}
|
|
|
|
|
|
|
| 127 |
]
|
| 128 |
}
|
| 129 |
]
|