oshita-n commited on
Commit
577ce6a
·
1 Parent(s): 0f3dfdc
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def process(input_image, prompt):
12
  text_input = txt_processors["eval"](prompt)
13
  sample = {"image": image, "text_input": [text_input]}
14
 
15
- output = model.forward_qa(samples=sample)
16
  pred_answers = output[0]
17
 
18
  return pred_answer
 
12
  text_input = txt_processors["eval"](prompt)
13
  sample = {"image": image, "text_input": [text_input]}
14
 
15
+ output = model.forward_qa(samples=sample, num_captions=50)
16
  pred_answers = output[0]
17
 
18
  return pred_answer