Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ def image_vision(image_input_path, prompt):
|
|
| 89 |
return answer, None
|
| 90 |
|
| 91 |
def video_vision(video_input_path, prompt):
|
| 92 |
-
vid_frames, image_paths = read_video(video_input_path, video_interval=
|
| 93 |
# create a question (<image> is a placeholder for the video frames)
|
| 94 |
question = f"<image>{prompt}"
|
| 95 |
result = model.predict_forward(
|
|
|
|
| 89 |
return answer, None
|
| 90 |
|
| 91 |
def video_vision(video_input_path, prompt):
|
| 92 |
+
vid_frames, image_paths = read_video(video_input_path, video_interval=1)
|
| 93 |
# create a question (<image> is a placeholder for the video frames)
|
| 94 |
question = f"<image>{prompt}"
|
| 95 |
result = model.predict_forward(
|