practisebook commited on
Commit
8b2a8c7
·
verified ·
1 Parent(s): bfb018b

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +26 -18
index.html CHANGED
@@ -1,19 +1,27 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Real-Time Object Detection</title>
8
+ <!-- Link to the JavaScript and CSS files -->
9
+ <script type="module" src="assets/detection.js"></script>
10
+ <link rel="stylesheet" href="assets/styles.css">
11
+ </head>
12
+
13
+ <body>
14
+ <h1>Real-Time Object Detection</h1>
15
+ <h4>Powered by YOLO and Transformers.js</h4>
16
+ <!-- Container for the webcam and canvas -->
17
+ <div id="container">
18
+ <video id="video" autoplay muted playsinline></video>
19
+ <canvas id="canvas"></canvas>
20
+ </div>
21
+ <!-- Status and Controls -->
22
+ <div id="controls">
23
+ <label id="status">Initializing...</label>
24
+ </div>
25
+ </body>
26
+
27
  </html>