cfahlgren1 HF Staff commited on
Commit
b1d73a8
·
verified ·
1 Parent(s): 95f6dfb

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +39 -13
index.html CHANGED
@@ -1,19 +1,45 @@
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>Trending Datasets Dashboard</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
  </head>
9
+ <body class="min-h-screen bg-blue-50">
10
+ <div class="mx-auto flex min-h-screen max-w-5xl flex-col px-4">
11
+ <div class="flex min-h-screen items-center justify-center">
12
+ <div class="w-full overflow-hidden bg-white shadow-lg sm:rounded-2xl sm:shadow-2xl">
13
+ <header class="bg-blue-100 px-4 py-6">
14
+ <h1 class="mb-2 text-2xl font-extrabold text-gray-800 sm:mb-3 sm:text-4xl">Trending Spaces Today</h1>
15
+ <p class="text-base text-gray-700 sm:text-lg">Discover the most popular spaces today.</p>
16
+ </header>
17
+ <div class="bg-white p-4">
18
+ <iframe
19
+ src="https://huggingface.co/datasets/cfahlgren1/hub-stats/embed/sql-console/datasets/train?sql_console=true&sql=select+%0A++trendingScore+as+score%2C+%0A++id%2C+%0A++date_trunc%28%27day%27%2CcreatedAt%3A%3ADATE%29+as+created%2C+%0A++from+spaces%0Awhere+createdAt%3A%3ADATE+%3E%3D+%28today%28%29+-+INTERVAL+%271+DAYS%27%29%0Aorder+by+trendingScore+desc%0Alimit+10%0A&views%5B%5D=datasets&views%5B%5D=spaces"
20
+ class="h-[400px] w-full"
21
+ loading="lazy"
22
+ frameborder="0"
23
+ ></iframe>
24
+ </div>
25
+ </div>
26
+ </div>
27
+
28
+ <div class="flex min-h-screen items-start justify-center pt-16">
29
+ <div class="w-full overflow-hidden bg-white shadow-lg sm:rounded-2xl sm:shadow-2xl">
30
+ <header class="bg-blue-100 px-4 py-6">
31
+ <h1 class="mb-2 text-2xl font-extrabold text-gray-800 sm:mb-3 sm:text-4xl">Trending Datasets</h1>
32
+ <p class="text-base text-gray-700 sm:text-lg">See what the community is interested in the past 2 weeks.</p>
33
+ </header>
34
+ <div class="bg-white p-4">
35
+ <iframe
36
+ src="https://huggingface.co/datasets/cfahlgren1/hub-stats/embed/sql-console/datasets/train?sql_console=true&sql=select+%0A++trendingScore+as+score%2C+%0A++id%2C+%0A++COALESCE%28description%2C+%27%27%29+as+description%2C+%0A++date_trunc%28%27day%27%2CcreatedAt%3A%3ADATE%29+as+created%2C+%0A++COALESCE%28cardData%3A%3AJSON-%3E%3E%27license%27%2C+%27None%27%29+as+license%0A++from+datasets%0Awhere+createdAt%3A%3ADATE+%3E%3D+%28today%28%29+-+INTERVAL+%272+WEEK%27%29%0Aorder+by+trendingScore+desc%0Alimit+10%0A&views%5B%5D=datasets"
37
+ class="h-[560px] w-full"
38
+ loading="lazy"
39
+ ></iframe>
40
+ </div>
41
+ </div>
42
+ </div>
43
  </div>
44
  </body>
45
  </html>