Spaces:
Sleeping
Sleeping
Ntabukiraniro
commited on
Commit
•
8ecb051
1
Parent(s):
5e80190
Upload 6 files
Browse files- asset-manifest.json +22 -0
- bootstrap.min.css +0 -0
- index.html +1 -0
- precache-manifest.4829c060d313d0b0d13d9af3b0180289.js +26 -0
- service-worker.js +39 -0
- styles.css +59 -0
asset-manifest.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"files": {
|
3 |
+
"main.js": "./static/js/main.833ba252.chunk.js",
|
4 |
+
"main.js.map": "./static/js/main.833ba252.chunk.js.map",
|
5 |
+
"runtime-main.js": "./static/js/runtime-main.11ec9aca.js",
|
6 |
+
"runtime-main.js.map": "./static/js/runtime-main.11ec9aca.js.map",
|
7 |
+
"static/css/2.bfbf028b.chunk.css": "./static/css/2.bfbf028b.chunk.css",
|
8 |
+
"static/js/2.270b84d8.chunk.js": "./static/js/2.270b84d8.chunk.js",
|
9 |
+
"static/js/2.270b84d8.chunk.js.map": "./static/js/2.270b84d8.chunk.js.map",
|
10 |
+
"index.html": "./index.html",
|
11 |
+
"precache-manifest.4829c060d313d0b0d13d9af3b0180289.js": "./precache-manifest.4829c060d313d0b0d13d9af3b0180289.js",
|
12 |
+
"service-worker.js": "./service-worker.js",
|
13 |
+
"static/css/2.bfbf028b.chunk.css.map": "./static/css/2.bfbf028b.chunk.css.map",
|
14 |
+
"static/js/2.270b84d8.chunk.js.LICENSE.txt": "./static/js/2.270b84d8.chunk.js.LICENSE.txt"
|
15 |
+
},
|
16 |
+
"entrypoints": [
|
17 |
+
"static/js/runtime-main.11ec9aca.js",
|
18 |
+
"static/css/2.bfbf028b.chunk.css",
|
19 |
+
"static/js/2.270b84d8.chunk.js",
|
20 |
+
"static/js/main.833ba252.chunk.js"
|
21 |
+
]
|
22 |
+
}
|
bootstrap.min.css
ADDED
The diff for this file is too large to render.
See raw diff
|
|
index.html
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
<!doctype html><html lang="en"><head><title>Streamlit Audio Recorder Component</title><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Streamlit Audio Recorder Component"/><link rel="stylesheet" href="bootstrap.min.css"/><link rel="stylesheet" href="styles.css"/><link href="static/css/2.bfbf028b.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,l,a=t[0],p=t[1],i=t[2],c=0,s=[]; c<a.length; c++)l=a[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);for(f&&f(t); s.length;)s.shift()();return u.push.apply(u,i||[]),r()}function r(){for(var e,t=0; t<u.length; t++){for(var r=u[t],n=!0,a=1; a<r.length; a++){var p=r[a];0!==o[p]&&(n=!1)}n&&(u.splice(t--,1),e=l(l.s=r[0]))}return e}var n={},o={1:0},u=[];function l(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=e,l.c=n,l.d=function(e, t, r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e, t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(l.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)l.d(r,n,function(t){return e[t]}.bind(null,n));return r},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e, t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="./";var a=this.webpackJsonpstreamlit_component_template=this.webpackJsonpstreamlit_component_template||[],p=a.push.bind(a);a.push=t,a=a.slice();for(var i=0; i<a.length; i++)t(a[i]);var f=p;r()}([])</script><script src="static/js/2.270b84d8.chunk.js"></script><script src="static/js/main.833ba252.chunk.js"></script></body></html>
|
precache-manifest.4829c060d313d0b0d13d9af3b0180289.js
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
self.__precacheManifest = (self.__precacheManifest || []).concat([
|
2 |
+
{
|
3 |
+
"revision": "de27ef444ab2ed520b64cb0c988a478a",
|
4 |
+
"url": "./index.html"
|
5 |
+
},
|
6 |
+
{
|
7 |
+
"revision": "1a47c80c81698454dced",
|
8 |
+
"url": "./static/css/2.bfbf028b.chunk.css"
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"revision": "1a47c80c81698454dced",
|
12 |
+
"url": "./static/js/2.270b84d8.chunk.js"
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"revision": "3fc7fb5bfeeec1534560a2c962e360a7",
|
16 |
+
"url": "./static/js/2.270b84d8.chunk.js.LICENSE.txt"
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"revision": "3478f4c246f37a2cbb97",
|
20 |
+
"url": "./static/js/main.833ba252.chunk.js"
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"revision": "7c26bca7e16783d14d15",
|
24 |
+
"url": "./static/js/runtime-main.11ec9aca.js"
|
25 |
+
}
|
26 |
+
]);
|
service-worker.js
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Welcome to your Workbox-powered service worker!
|
3 |
+
*
|
4 |
+
* You'll need to register this file in your web app and you should
|
5 |
+
* disable HTTP caching for this file too.
|
6 |
+
* See https://goo.gl/nhQhGp
|
7 |
+
*
|
8 |
+
* The rest of the code is auto-generated. Please don't update this file
|
9 |
+
* directly; instead, make changes to your Workbox build configuration
|
10 |
+
* and re-run your build process.
|
11 |
+
* See https://goo.gl/2aRDsh
|
12 |
+
*/
|
13 |
+
|
14 |
+
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
|
15 |
+
|
16 |
+
importScripts(
|
17 |
+
"./precache-manifest.4829c060d313d0b0d13d9af3b0180289.js"
|
18 |
+
);
|
19 |
+
|
20 |
+
self.addEventListener('message', (event) => {
|
21 |
+
if (event.data && event.data.type === 'SKIP_WAITING') {
|
22 |
+
self.skipWaiting();
|
23 |
+
}
|
24 |
+
});
|
25 |
+
|
26 |
+
workbox.core.clientsClaim();
|
27 |
+
|
28 |
+
/**
|
29 |
+
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
|
30 |
+
* requests for URLs in the manifest.
|
31 |
+
* See https://goo.gl/S9QRab
|
32 |
+
*/
|
33 |
+
self.__precacheManifest = [].concat(self.__precacheManifest || []);
|
34 |
+
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
|
35 |
+
|
36 |
+
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("./index.html"), {
|
37 |
+
|
38 |
+
blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
|
39 |
+
});
|
styles.css
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*{
|
2 |
+
margin: 0;
|
3 |
+
padding: 0;
|
4 |
+
}
|
5 |
+
|
6 |
+
.container{
|
7 |
+
margin: 0 auto;
|
8 |
+
text-align: center;
|
9 |
+
}
|
10 |
+
|
11 |
+
.display{
|
12 |
+
width: 100%;
|
13 |
+
padding: 5px 0;
|
14 |
+
margin: 15px 0;
|
15 |
+
}
|
16 |
+
|
17 |
+
.controllers{
|
18 |
+
width: 100%;
|
19 |
+
padding: 5px 0;
|
20 |
+
margin-top: 15px;
|
21 |
+
margin-bottom: 35px;
|
22 |
+
}
|
23 |
+
|
24 |
+
button{
|
25 |
+
padding-top: 0.25rem;
|
26 |
+
padding-bottom: 0.25rem;
|
27 |
+
padding-right: 0.75rem;
|
28 |
+
padding-left: 0.75rem;
|
29 |
+
margin-right: 0.5rem;
|
30 |
+
margin-left: 0.1rem;
|
31 |
+
font-size: 16px;
|
32 |
+
background-color: #ffffff;
|
33 |
+
color: #000000;
|
34 |
+
border: 1px solid rgba(49, 51, 63, 0.2);
|
35 |
+
border-radius: 0.25rem;
|
36 |
+
margin-top: 0.75rem;
|
37 |
+
margin-bottom: 0.25rem;
|
38 |
+
}
|
39 |
+
|
40 |
+
button:hover{
|
41 |
+
padding-top: 0.25rem;
|
42 |
+
padding-bottom: 0.25rem;
|
43 |
+
padding-right: 0.75rem;
|
44 |
+
padding-left: 0.75rem;
|
45 |
+
margin-right: 0.5rem;
|
46 |
+
margin-left: 0.1rem;
|
47 |
+
font-size: 16px;
|
48 |
+
background-color: #ffffff;
|
49 |
+
color: #ff4c4b;
|
50 |
+
border: 1px solid #ff4c4b;
|
51 |
+
border-radius: 0.25rem;
|
52 |
+
margin-top: 0.75rem;
|
53 |
+
margin-bottom: 0.25rem;
|
54 |
+
}
|
55 |
+
|
56 |
+
audio {
|
57 |
+
width: 450px;
|
58 |
+
height: 45px;
|
59 |
+
}
|