Update Gpt4oDemo.py
Browse files- Gpt4oDemo.py +1 -1
Gpt4oDemo.py
CHANGED
|
@@ -200,7 +200,7 @@ def handle_video(video=None):
|
|
| 200 |
# Load example video
|
| 201 |
video = "./TEST.mp4"
|
| 202 |
|
| 203 |
-
base64Frames, audio_path = process_video(
|
| 204 |
chat_history.append({
|
| 205 |
"role": "user",
|
| 206 |
"content": [
|
|
|
|
| 200 |
# Load example video
|
| 201 |
video = "./TEST.mp4"
|
| 202 |
|
| 203 |
+
base64Frames, audio_path = process_video(video_file, seconds_per_frame=1, target_width=320, target_height=180)
|
| 204 |
chat_history.append({
|
| 205 |
"role": "user",
|
| 206 |
"content": [
|