Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ from my_model.KBVQA import KBVQA, prepare_kbvqa_model
|
|
14 |
|
15 |
def answer_question(image, question, model):
|
16 |
|
17 |
-
answer = model.generate_answer(question, image)
|
18 |
return answer
|
19 |
|
20 |
def get_caption(image):
|
|
|
14 |
|
15 |
def answer_question(image, question, model):
|
16 |
|
17 |
+
answer = model.generate_answer(question, image)
|
18 |
return answer
|
19 |
|
20 |
def get_caption(image):
|