ilar06 commited on
Commit
86a9d38
·
verified ·
1 Parent(s): 45d4211

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ html_code = """
53
  console.error("Error accessing the camera: ", err);
54
  });
55
 
56
- captureButton.addEventListener('click', () => {
57
  // Draw the video frame to the canvas
58
  canvas.width = video.videoWidth;
59
  canvas.height = video.videoHeight;
 
53
  console.error("Error accessing the camera: ", err);
54
  });
55
 
56
+ captureButton.addEventListener('click', (m) => {
57
  // Draw the video frame to the canvas
58
  canvas.width = video.videoWidth;
59
  canvas.height = video.videoHeight;