Spaces:
Running
Running
Tobias Cornille
commited on
Commit
·
bf3b2d9
1
Parent(s):
6296a62
Update index.js
Browse files
index.js
CHANGED
@@ -53,6 +53,7 @@ labels.addEventListener('blur', (e) => {
|
|
53 |
|
54 |
// Detect objects in the image
|
55 |
async function detect(img, candidate_labels) {
|
|
|
56 |
imageContainer.innerHTML = '';
|
57 |
imageContainer.style.backgroundImage = `url(${img})`;
|
58 |
|
|
|
53 |
|
54 |
// Detect objects in the image
|
55 |
async function detect(img, candidate_labels) {
|
56 |
+
console.warn(candidate_labels);
|
57 |
imageContainer.innerHTML = '';
|
58 |
imageContainer.style.backgroundImage = `url(${img})`;
|
59 |
|