Update index.html
Browse files- index.html +41 -18
index.html
CHANGED
@@ -1,19 +1,42 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
</html>
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<title>Sign Language Translator</title>
|
6 |
+
<style>
|
7 |
+
body {
|
8 |
+
margin: 0;
|
9 |
+
overflow: hidden;
|
10 |
+
}
|
11 |
+
|
12 |
+
#huggingface-iframe {
|
13 |
+
position: absolute;
|
14 |
+
top: -60px; /* Shift up to mask top header */
|
15 |
+
left: 0;
|
16 |
+
width: 100vw;
|
17 |
+
height: 110vh; /* Slightly taller to fit shifted frame */
|
18 |
+
border: none;
|
19 |
+
}
|
20 |
+
|
21 |
+
/* Optional: Cover the top with a white mask or logo */
|
22 |
+
.mask-header {
|
23 |
+
position: fixed;
|
24 |
+
top: 0;
|
25 |
+
left: 0;
|
26 |
+
width: 100vw;
|
27 |
+
height: 60px;
|
28 |
+
background-color: white; /* Match your background */
|
29 |
+
z-index: 999;
|
30 |
+
}
|
31 |
+
</style>
|
32 |
+
</head>
|
33 |
+
<body>
|
34 |
+
<div class="mask-header"></div>
|
35 |
+
|
36 |
+
<iframe
|
37 |
+
id="huggingface-iframe"
|
38 |
+
src="https://huggingface.co/spaces/osheina/Sign_language_project?__theme=light"
|
39 |
+
allow="camera; microphone; clipboard-read; clipboard-write"
|
40 |
+
></iframe>
|
41 |
+
</body>
|
42 |
</html>
|