Spaces:
Runtime error
Runtime error
fix: find error
Browse files- static/script.js +5 -5
static/script.js
CHANGED
|
@@ -40,12 +40,12 @@ function submitImages(acceptedFiles) {
|
|
| 40 |
data.append('files[]', file, file.name);
|
| 41 |
}
|
| 42 |
|
| 43 |
-
classifyResponse = fetch('classify', {
|
| 44 |
-
method: 'POST',
|
| 45 |
-
body: data
|
| 46 |
-
});
|
| 47 |
|
| 48 |
-
return
|
| 49 |
}
|
| 50 |
|
| 51 |
const inputImg = document.querySelector('img-input');
|
|
|
|
| 40 |
data.append('files[]', file, file.name);
|
| 41 |
}
|
| 42 |
|
| 43 |
+
// classifyResponse = fetch('classify', {
|
| 44 |
+
// method: 'POST',
|
| 45 |
+
// body: data
|
| 46 |
+
// });
|
| 47 |
|
| 48 |
+
return "aqa";
|
| 49 |
}
|
| 50 |
|
| 51 |
const inputImg = document.querySelector('img-input');
|