Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
71 |
|
72 |
-
answer_git_large =
|
73 |
|
74 |
-
answer_blip_base =
|
75 |
|
76 |
-
answer_blip_large =
|
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 |
|