fffiloni commited on
Commit
bc31078
·
verified ·
1 Parent(s): 051c943

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=6)
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(