rjiang12 commited on
Commit
0c97a49
1 Parent(s): 23221e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,13 +89,13 @@ def generate_answers(image, question):
89
 
90
  # answer_git_large = generate_answer_git(git_processor_large, git_model_large, image, question)
91
 
92
- # answer_blip_base = generate_answer_blip(blip_processor_base, blip_model_base, image, question)
93
 
94
  # answer_blip_large = generate_answer_blip(blip_processor_large, blip_model_large, image, question)
95
 
96
  # answer_vilt = generate_answer_vilt(vilt_processor, vilt_model, image, question)
97
 
98
- return answer_git_base
99
 
100
 
101
  examples = [["cats.jpg", "How many cats are there?"], ["stop_sign.png", "What's behind the stop sign?"], ["astronaut.jpg", "What's the astronaut riding on?"]]
 
89
 
90
  # answer_git_large = generate_answer_git(git_processor_large, git_model_large, image, question)
91
 
92
+ answer_blip_base = generate_answer_blip(blip_processor_base, blip_model_base, image, question)
93
 
94
  # answer_blip_large = generate_answer_blip(blip_processor_large, blip_model_large, image, question)
95
 
96
  # answer_vilt = generate_answer_vilt(vilt_processor, vilt_model, image, question)
97
 
98
+ return answer_git_base, answer_blip_base
99
 
100
 
101
  examples = [["cats.jpg", "How many cats are there?"], ["stop_sign.png", "What's behind the stop sign?"], ["astronaut.jpg", "What's the astronaut riding on?"]]