m7mdal7aj commited on
Commit
aebc520
1 Parent(s): b749133

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ from my_model.KBVQA import KBVQA, prepare_kbvqa_model
15
 
16
 
17
 
18
- def answer_question(caption, detected_objects_str, question, model=kbvqa):
19
 
20
  answer = model.generate_answer(question, caption, detected_objects_str)
21
  return answer
 
15
 
16
 
17
 
18
+ def answer_question(caption, detected_objects_str, question, model):
19
 
20
  answer = model.generate_answer(question, caption, detected_objects_str)
21
  return answer