nielsr HF staff commited on
Commit
0865f24
1 Parent(s): 1bf9e8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -67,13 +67,13 @@ def generate_answer_vilt(processor, model, image, question):
67
 
68
 
69
  def generate_answers(image, question):
70
- answer_git_base = generate_caption(git_processor_base, git_model_base, image, question)
71
 
72
- answer_git_large = generate_caption(git_processor_large, git_model_large, image, question)
73
 
74
- answer_blip_base = generate_caption(blip_processor_base, blip_model_base, image, question)
75
 
76
- answer_blip_large = generate_caption(blip_processor_large, blip_model_large, image, question)
77
 
78
  answer_vilt = generate_answer_vilt(vilt_processor, vilt_model, image, question)
79
 
 
67
 
68
 
69
  def generate_answers(image, question):
70
+ answer_git_base = generate_answer_git(git_processor_base, git_model_base, image, question)
71
 
72
+ answer_git_large = generate_answer_git(git_processor_large, git_model_large, image, question)
73
 
74
+ answer_blip_base = generate_answer_blip(blip_processor_base, blip_model_base, image, question)
75
 
76
+ answer_blip_large = generate_answer_blip(blip_processor_large, blip_model_large, image, question)
77
 
78
  answer_vilt = generate_answer_vilt(vilt_processor, vilt_model, image, question)
79