Noah Vriese commited on
Commit
eeb4edc
·
1 Parent(s): b70c559

Update visualization formatting precision

Browse files
Files changed (1) hide show
  1. data_objects.py +1 -1
data_objects.py CHANGED
@@ -209,7 +209,7 @@ class Detection:
209
  )
210
 
211
  if hasattr(self, "score") and self.score:
212
- display_text += f" ({self.score})"
213
 
214
  if hasattr(self, "status") and self.status:
215
  display_text += f" ({self.status})"
 
209
  )
210
 
211
  if hasattr(self, "score") and self.score:
212
+ display_text += f" ({round(self.score, 2)})"
213
 
214
  if hasattr(self, "status") and self.status:
215
  display_text += f" ({self.status})"