ManishThota commited on
Commit
d0246f4
1 Parent(s): bda5bd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def predict_answer(video, image, question):
87
  image = extract_frames(frames[2])
88
  image_tensor = model.image_preprocess([image])
89
  # Generate the answer
90
- output_ids = model.generate(
91
  input_ids,
92
  max_new_tokens=25,
93
  images=image_tensor,
 
87
  image = extract_frames(frames[2])
88
  image_tensor = model.image_preprocess([image])
89
  # Generate the answer
90
+ output_ids = model.generate(
91
  input_ids,
92
  max_new_tokens=25,
93
  images=image_tensor,