dvilasuero commited on
Commit
615e64d
·
verified ·
1 Parent(s): e902eda

Upload index.html with huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +26 -17
index.html CHANGED
@@ -1,19 +1,28 @@
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" data-bs-theme="light">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>Inspect View</title>
7
+ <link rel="icon" href="./assets/favicon.svg" />
8
+
9
+ <script>
10
+ // Forward the theme (dark or light) onto the root html element
11
+ // this parameter will tend to appear when the view is hosted within
12
+ // an iframe (e.g. in vscode)
13
+ const urlParams = new URLSearchParams(window.location.search);
14
+ const theme = urlParams.get("inspectLogviewThemeCategory");
15
+ if (theme) {
16
+ document.documentElement.setAttribute("data-text-highlight", theme);
17
+ document.documentElement.setAttribute("data-bs-theme", theme);
18
+ }
19
+ </script>
20
+ <script type="module" crossorigin src="./assets/index.js"></script>
21
+ <link rel="stylesheet" crossorigin href="./assets/index.css">
22
+ <script id="log_dir_context" type="application/json">{"log_dir": "logs"}</script>
23
+ </head>
24
+
25
+ <body style="min-width: 450px">
26
+ <div id="app"></div>
27
+ </body>
28
  </html>