t4ai commited on
Commit
1d2259d
1 Parent(s): 7712838
Files changed (1) hide show
  1. app.py +1 -1
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 enumerate(classes.items()):
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]"