haidizym commited on
Commit
eb3e712
·
1 Parent(s): 90d2003

update: colearn page

Browse files
Files changed (1) hide show
  1. index.html +26 -16
index.html CHANGED
@@ -1,19 +1,29 @@
 
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
+ #找到该目录文件夹下的index.html文件,修改我们的html代码
2
  <!doctype html>
3
  <html>
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <meta name="viewport" content="width=device-width" />
7
+ <title>My static Space</title>
8
+ <style>
9
+ html, body {
10
+ margin: 0;
11
+ padding: 0;
12
+ height: 100%;
13
+ }
14
+ body {
15
+ display: flex;
16
+ justify-content: center;
17
+ align-items: center;
18
+ }
19
+ iframe {
20
+ width: 430px;
21
+ height: 932px;
22
+ border: none;
23
+ }
24
+ </style>
25
+ </head>
26
+ <body>
27
+ <iframe src="https://colearn.intern-ai.org.cn/cobuild" title="description"></iframe>
28
+ </body>
29
  </html>