Skip to content

Commit 19db21f

Browse files
authored
Update question_answer.py
1 parent 1ab1b3c commit 19db21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

question_answer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def generate_answer(img_path, question, model):
4343
answers = np.argsort(probabilities[:1000])
4444
top_answers = [prepare_data.top_answers[answers[-1]],
4545
prepare_data.top_answers[answers[-2]],
46-
prepare_data.top_answers[answers[-3]] ]
46+
prepare_data.top_answers[answers[-3]]]
4747

4848
return top_answers
4949

0 commit comments

Comments
 (0)