Gaejoon commited on
Commit
56fe6ce
·
verified ·
1 Parent(s): 859ac57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def query_image(img, text_queries, owl_threshold, flag_output_korean):
77
  if flag_output_korean:
78
  for box, label in owl_output:
79
  kor_label = label_mapping[label]
80
- owl_output_final.append(box, kor_label)
81
 
82
  else:
83
  owl_output_final = owl_output
 
77
  if flag_output_korean:
78
  for box, label in owl_output:
79
  kor_label = label_mapping[label]
80
+ owl_output_final.append((box, kor_label))
81
 
82
  else:
83
  owl_output_final = owl_output