tdnathmlenthusiast commited on
Commit
b32348b
·
verified ·
1 Parent(s): 0b1ae9d

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +41 -18
index.html CHANGED
@@ -1,19 +1,42 @@
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
+ <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>