Xenova HF staff commited on
Commit
16bba00
1 Parent(s): 09bb4c4

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -89,7 +89,7 @@ function renderBox([xmin, ymin, xmax, ymax, score, id], [w, h]) {
89
 
90
  // Draw label
91
  const labelElement = document.createElement('span');
92
- labelElement.textContent = `${model.config.id2label[id]} (${score.toFixed(2)})`;
93
  labelElement.className = 'bounding-box-label';
94
  labelElement.style.backgroundColor = color;
95
 
 
89
 
90
  // Draw label
91
  const labelElement = document.createElement('span');
92
+ labelElement.textContent = `${model.config.id2label[id]}\u00a0(${score.toFixed(2)})`;
93
  labelElement.className = 'bounding-box-label';
94
  labelElement.style.backgroundColor = color;
95