ezamorag commited on
Commit
657e458
1 Parent(s): 5fdaea8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -51,7 +51,8 @@ def displaytext_yolocounter(countings, coverage):
51
  for (y_class,c) in countings_list:
52
  total += c
53
 
54
- text = f'coverage = {coverage}'+'\n\n'
 
55
  for key,value in countings_list:
56
  text += f'{key} = {value}'+'\n'
57
  text += '\n'
 
51
  for (y_class,c) in countings_list:
52
  total += c
53
 
54
+ free = 100-int(coverage.split('.')[0])
55
+ text = f'free space = {free}%'+'\n\n'
56
  for key,value in countings_list:
57
  text += f'{key} = {value}'+'\n'
58
  text += '\n'