mfarre HF staff commited on
Commit
bd08551
·
1 Parent(s): 2febd11

adjustments to old prompt

Browse files
Files changed (1) hide show
  1. app.py +3 -5
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"""Do you see any of the following types of highlight moments in these frames?
124
 
125
- Potential highlights to look for:
126
- {highlight_types}
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
  ]