Kwai-Keye commited on
Commit
ea1e9d2
·
verified ·
1 Parent(s): b5162d0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -7
README.md CHANGED
@@ -206,13 +206,15 @@ messages = [
206
  "content": [
207
  {
208
  "type": "video_url",
209
- "video_url": {"url": video_url},
210
- "preprocess_kwargs": {
211
- "fps": fps,
212
- "min_pixels": min_token*28*28,
213
- "max_pixels": max_token*28*28,
214
- "video_total_pixels":total_video_token*28*28,
215
- }
 
 
216
  },
217
  {"type": "text", "text": "Describe this video."},
218
  ],
 
206
  "content": [
207
  {
208
  "type": "video_url",
209
+ "video_url": {
210
+ "url": video_url,
211
+ "preprocess_kwargs": {
212
+ "fps": fps,
213
+ "min_pixels": min_token*28*28,
214
+ "max_pixels": max_token*28*28,
215
+ "video_total_pixels":total_video_token*28*28,
216
+ }
217
+ },
218
  },
219
  {"type": "text", "text": "Describe this video."},
220
  ],