Prime810 commited on
Commit
92ad31a
·
verified ·
1 Parent(s): 2bc715c

Update Frontend/scripts.js

Browse files
Files changed (1) hide show
  1. 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/process-image", {
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 })