Spaces:
Running
Running
Upload 4 files
Browse files- assets/index-dustL8iT.css +1 -0
- assets/index-lG3g2NFl.js +0 -0
- assets/worker-UdpdUYBV.js +0 -0
- index.html +26 -19
assets/index-dustL8iT.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
@import"https://fonts.googleapis.com/css2?family=Montserrat&display=swap";*{box-sizing:border-box;padding:0;margin:0;font-family:Montserrat,sans-serif}html{background:radial-gradient(ellipse at center,#1b2735 0%,#090a0f 100%);height:100%;width:100%}body{overflow:hidden;display:flex;justify-content:center}#deepscatter{position:absolute;left:0;top:0}#container-for-webgl-canvas{width:100vw;display:flex;justify-content:center}.tooltip{width:400px;margin-top:-10px}.tooltip>audio{margin-top:10px;width:100%}#search{background:url(https://upload.wikimedia.org/wikipedia/commons/0/0b/Search_Icon.svg) no-repeat center right;background-size:50px 50px;width:56px;border:none;cursor:pointer}#header{padding:20px 0 50px;color:#fff;text-align:center;background:linear-gradient(to bottom,rgba(0,0,0,1),rgba(0,0,0,0));width:100vw}#title{font-size:30px;font-weight:600}#header,#search-bar{position:absolute;justify-content:center;z-index:1}#search-bar{padding:0 20px;max-width:90vw;overflow:hidden;border-radius:20px 20px 0 0;bottom:0;height:60px;width:500px;background-color:#fff;display:flex}#overlay{position:absolute;width:100vw;height:100vh;z-index:999999999;background-color:#000c;pointer-events:none;display:none;color:#fff;justify-content:center;align-items:center;font-size:20px}#query{width:100%;height:100%;font-size:1.5em;border:none;outline:none}a{color:#fff}
|
assets/index-lG3g2NFl.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
assets/worker-UdpdUYBV.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
index.html
CHANGED
@@ -1,19 +1,26 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!doctype html>
|
2 |
+
<html lang="en">
|
3 |
+
|
4 |
+
<head>
|
5 |
+
<meta charset="UTF-8" />
|
6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7 |
+
<title>Semantic Audio Search | Transformers.js</title>
|
8 |
+
<script type="module" crossorigin src="/assets/index-lG3g2NFl.js"></script>
|
9 |
+
<link rel="stylesheet" crossorigin href="/assets/index-dustL8iT.css">
|
10 |
+
</head>
|
11 |
+
|
12 |
+
<body>
|
13 |
+
<div id="header">
|
14 |
+
<div id="title">In-browser Semantic Audio Search</div>
|
15 |
+
<p>Powered by <a href="https://hf.co/docs/transformers.js" target="_blank">🤗 Transformers.js</a></p>
|
16 |
+
</div>
|
17 |
+
<div id="overlay"></div>
|
18 |
+
<div id="deepscatter"></div>
|
19 |
+
<div id="search-bar">
|
20 |
+
<input id="query" placeholder="Search for music..." type="text" />
|
21 |
+
<button id="search"></button>
|
22 |
+
</div>
|
23 |
+
</body>
|
24 |
+
|
25 |
+
|
26 |
+
</html>
|