Spaces:
Runtime error
Runtime error
carlfeynman
commited on
Commit
•
05b5f7a
1
Parent(s):
cb47955
api connected
Browse files- static/index.html +1 -1
static/index.html
CHANGED
@@ -108,7 +108,7 @@
|
|
108 |
var captureButton = document.getElementById('capture-button');
|
109 |
captureButton.addEventListener('click', function () {
|
110 |
var imageData = canvas.toDataURL("image/png");
|
111 |
-
fetch('
|
112 |
method: 'POST',
|
113 |
headers: {
|
114 |
'Content-Type': 'application/json',
|
|
|
108 |
var captureButton = document.getElementById('capture-button');
|
109 |
captureButton.addEventListener('click', function () {
|
110 |
var imageData = canvas.toDataURL("image/png");
|
111 |
+
fetch('/predict', {
|
112 |
method: 'POST',
|
113 |
headers: {
|
114 |
'Content-Type': 'application/json',
|