Update README.md
Browse files
README.md
CHANGED
@@ -42,7 +42,7 @@ processor = AutoProcessor.from_pretrained("Qwen/Qwen2.5-VL-7B-Instruct")
|
|
42 |
|
43 |
# Prepare input data
|
44 |
video_path = "file:///path/to/video1.mp4"
|
45 |
-
text_description = "
|
46 |
question = f"Does this video show \"{text_description}\"?"
|
47 |
|
48 |
# Format the input for the model
|
@@ -130,7 +130,7 @@ messages = [
|
|
130 |
"video": "file:///path/to/video1.mp4",
|
131 |
"fps": 8.0,
|
132 |
},
|
133 |
-
{"type": "text", "text": "Describe this video."},
|
134 |
],
|
135 |
}
|
136 |
]
|
|
|
42 |
|
43 |
# Prepare input data
|
44 |
video_path = "file:///path/to/video1.mp4"
|
45 |
+
text_description = "the camera tilting upward"
|
46 |
question = f"Does this video show \"{text_description}\"?"
|
47 |
|
48 |
# Format the input for the model
|
|
|
130 |
"video": "file:///path/to/video1.mp4",
|
131 |
"fps": 8.0,
|
132 |
},
|
133 |
+
{"type": "text", "text": "Describe the camera motion in this video."},
|
134 |
],
|
135 |
}
|
136 |
]
|