Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ from my_model.KBVQA import KBVQA, prepare_kbvqa_model
|
|
15 |
|
16 |
def answer_question(image, question, caption, detected_objects_str, model):
|
17 |
|
18 |
-
answer = model.generate_answer(question,
|
19 |
st.image(image)
|
20 |
st.write(caption)
|
21 |
st.write("----------------")
|
|
|
15 |
|
16 |
def answer_question(image, question, caption, detected_objects_str, model):
|
17 |
|
18 |
+
answer = model.generate_answer(question, caption, detected_objects_str)
|
19 |
st.image(image)
|
20 |
st.write(caption)
|
21 |
st.write("----------------")
|