Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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;
|