Update templates/index.html
Browse files- templates/index.html +1 -1
templates/index.html
CHANGED
|
@@ -56,7 +56,7 @@
|
|
| 56 |
const takePictureBtn = document.getElementById('take-picture');
|
| 57 |
let useFrontCamera = true; // Start with front-facing camera
|
| 58 |
// Condition to determine which prediction to show
|
| 59 |
-
const showVegetablePrediction =
|
| 60 |
|
| 61 |
// Function to start the camera stream
|
| 62 |
function startCamera() {
|
|
|
|
| 56 |
const takePictureBtn = document.getElementById('take-picture');
|
| 57 |
let useFrontCamera = true; // Start with front-facing camera
|
| 58 |
// Condition to determine which prediction to show
|
| 59 |
+
const showVegetablePrediction = true; // Set to 'true' to show vegetable prediction, 'false' for YOLO detection
|
| 60 |
|
| 61 |
// Function to start the camera stream
|
| 62 |
function startCamera() {
|