Tobias Cornille commited on
Commit
7cb924a
1 Parent(s): 5c804a1

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -46,7 +46,7 @@ async function detect(img) {
46
  const candidate_labels = ['human face', 'rocket', 'helmet', 'american flag'];
47
  const output = await detector(img, candidate_labels);
48
  status.textContent = '';
49
- relativeOutput.forEach(renderBox);
50
 
51
  }
52
 
 
46
  const candidate_labels = ['human face', 'rocket', 'helmet', 'american flag'];
47
  const output = await detector(img, candidate_labels);
48
  status.textContent = '';
49
+ output.forEach(renderBox);
50
 
51
  }
52