Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
@@ -45,7 +45,7 @@ async function detect(img) {
|
|
45 |
imageContainer.style.backgroundImage = `url(${img})`;
|
46 |
|
47 |
status.textContent = 'Analysing...';
|
48 |
-
const image = await RawImage.read(img)
|
49 |
|
50 |
// Preprocess the image
|
51 |
const result = await processor(image);
|
|
|
45 |
imageContainer.style.backgroundImage = `url(${img})`;
|
46 |
|
47 |
status.textContent = 'Analysing...';
|
48 |
+
const image = await RawImage.read(img);
|
49 |
|
50 |
// Preprocess the image
|
51 |
const result = await processor(image);
|