Spaces:
Runtime error
Runtime error
test: classification res
Browse files- static/script.js +4 -1
static/script.js
CHANGED
|
@@ -53,6 +53,9 @@ let imageArray = [];
|
|
| 53 |
|
| 54 |
input.addEventListener("change", event =>{
|
| 55 |
const files = event.target.files;
|
|
|
|
| 56 |
res = submitImages(files);
|
| 57 |
-
console.log(res)
|
|
|
|
|
|
|
| 58 |
});
|
|
|
|
| 53 |
|
| 54 |
input.addEventListener("change", event =>{
|
| 55 |
const files = event.target.files;
|
| 56 |
+
res = "aaa"
|
| 57 |
res = submitImages(files);
|
| 58 |
+
console.log(res);
|
| 59 |
+
|
| 60 |
+
outputImg.textContent = "Result is: " + res;
|
| 61 |
});
|