Spaces:
Runtime error
Runtime error
HuggingFace-SK commited on
Commit ·
1f71774
1
Parent(s): 8f12303
check for tflite model before enabling cam
Browse files760 unmodified lines761762763764765766767768760 unmodified lines}// Enable the live webcam view and start detection.function enableCam(event) {if (!handLandmarker) {console.log("Wait! objectDetector not loaded yet.");return;}if (webcamRunning === true) {760 unmodified lines761762763764765766767768769760 unmodified lines}// Enable the live webcam view and start detection.function enableCam(event) {if (!handLandmarker || !letterDetector) {console.log("Wait! objectDetector not loaded yet.");document.getElementById('webcamButton').innerHTML='<span>Retry</span>'return;}if (webcamRunning === true) {
templates/browser-detect.html+2-1