Update Frontend/scripts.js
Browse files- Frontend/scripts.js +1 -1
Frontend/scripts.js
CHANGED
@@ -16,7 +16,7 @@ function captureAndSend() {
|
|
16 |
context.drawImage(video, 0, 0, canvas.width, canvas.height);
|
17 |
const dataUrl = canvas.toDataURL("image/jpeg");
|
18 |
|
19 |
-
fetch("https://prime810-facefeel.hf.space/
|
20 |
method: "POST",
|
21 |
headers: { "Content-Type": "application/json" },
|
22 |
body: JSON.stringify({ image: dataUrl })
|
|
|
16 |
context.drawImage(video, 0, 0, canvas.width, canvas.height);
|
17 |
const dataUrl = canvas.toDataURL("image/jpeg");
|
18 |
|
19 |
+
fetch("https://prime810-facefeel.hf.space/", {
|
20 |
method: "POST",
|
21 |
headers: { "Content-Type": "application/json" },
|
22 |
body: JSON.stringify({ image: dataUrl })
|