Spaces:
Runtime error
Runtime error
Update online.html
Browse files- online.html +1 -1
online.html
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
var imageFile = document.getElementById('imageInput').files[0];
|
21 |
formData.append('image', imageFile);
|
22 |
|
23 |
-
fetch('/upload', {
|
24 |
method: 'POST',
|
25 |
body: formData
|
26 |
})
|
|
|
20 |
var imageFile = document.getElementById('imageInput').files[0];
|
21 |
formData.append('image', imageFile);
|
22 |
|
23 |
+
fetch('https://dmitrmakeev-flask-inference-api.hf.space/upload', {
|
24 |
method: 'POST',
|
25 |
body: formData
|
26 |
})
|