fix bug 3
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def process_inference_result(result, class_colors):
|
|
71 |
def get_detection_count_display(classes):
|
72 |
if(len(classes)):
|
73 |
disp_str = "[Aircraft detected] "
|
74 |
-
for class_name, count in
|
75 |
disp_str += class_name + ": " + str(count) + " "
|
76 |
else:
|
77 |
disp_str = "[No aircraft detected]"
|
|
|
71 |
def get_detection_count_display(classes):
|
72 |
if(len(classes)):
|
73 |
disp_str = "[Aircraft detected] "
|
74 |
+
for class_name, count in classes.items():
|
75 |
disp_str += class_name + ": " + str(count) + " "
|
76 |
else:
|
77 |
disp_str = "[No aircraft detected]"
|