Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|