Skip to content

Commit

Permalink
AudioPlus integration (HumanSignal#17)
Browse files Browse the repository at this point in the history
* Add examples of local env

* Add script to copy examples into src

* Update styles of main area

* Variables to API

* Update env of label studio

* Audio regions progress

* Progress part of audio

* Audio regions in progress and fixed bugs

* Add func for change alpha in RGBA

* Relation Mode in Audio Plus

* Audio & Entity

* v. 0.0.6

* Prepare for travis
  • Loading branch information
shevchenkonik authored Aug 12, 2019
1 parent c52fc3d commit 806dbf8
Show file tree
Hide file tree
Showing 46 changed files with 27,166 additions and 21,664 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ root = true
# Unix-style newlines with a newline ending every file
[*]
indent_style = space
indent_size = 4
indent_size = 2
end_of_line = lf
insert_final_newline = true
charset = utf-8
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ Desktop.ini

# Testing
coverage/

# Examples of local env
src/examples
6 changes: 3 additions & 3 deletions backend/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"port": 8200,
"debug": true,

"label_config": "../examples/sentiment_analysis/config.xml",
"input_path": "../examples/sentiment_analysis/tasks.json",
"output_dir": "../examples/sentiment_analysis/completions",
"label_config": "../examples/audio_regions/config.xml",
"input_path": "../examples/audio_regions/tasks.json",
"output_dir": "../examples/audio_regions/completions",

"instruction": "Type something for label experts!",
"allow_delete_completions": true,
Expand Down
24 changes: 10 additions & 14 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
{
"main.css": "/heartexlabs/label-studio/static/css/main.d28f49ad.chunk.css",
"main.js": "/heartexlabs/label-studio/static/js/main.23c00390.chunk.js",
"main.js.map": "/heartexlabs/label-studio/static/js/main.23c00390.chunk.js.map",
"static/css/1.2716ee49.chunk.css": "/heartexlabs/label-studio/static/css/1.2716ee49.chunk.css",
"static/js/1.397d9ac3.chunk.js": "/heartexlabs/label-studio/static/js/1.397d9ac3.chunk.js",
"static/js/1.397d9ac3.chunk.js.map": "/heartexlabs/label-studio/static/js/1.397d9ac3.chunk.js.map",
"runtime~main.js": "/heartexlabs/label-studio/static/js/runtime~main.a75000d3.js",
"runtime~main.js.map": "/heartexlabs/label-studio/static/js/runtime~main.a75000d3.js.map",
"static/media/semantic.min.css": "/heartexlabs/label-studio/static/media/brand-icons.a1a749e8.svg",
"static/css/1.2716ee49.chunk.css.map": "/heartexlabs/label-studio/static/css/1.2716ee49.chunk.css.map",
"static/css/main.d28f49ad.chunk.css.map": "/heartexlabs/label-studio/static/css/main.d28f49ad.chunk.css.map",
"index.html": "/heartexlabs/label-studio/index.html",
"precache-manifest.8720481f20ee8a443413bf45c7f6d9fc.js": "/heartexlabs/label-studio/precache-manifest.8720481f20ee8a443413bf45c7f6d9fc.js",
"service-worker.js": "/heartexlabs/label-studio/service-worker.js"
"main.css": "/static/css/main.1001b5f3.chunk.css",
"main.js": "/static/js/main.fdb7ad00.chunk.js",
"static/css/1.6e9a54a1.chunk.css": "/static/css/1.6e9a54a1.chunk.css",
"static/js/1.0909fbd3.chunk.js": "/static/js/1.0909fbd3.chunk.js",
"runtime~main.js": "/static/js/runtime~main.229c360f.js",
"static/media/semantic.min.css": "/static/media/brand-icons.a1a749e8.svg",
"static/media/config.xml": "/static/media/config.c5233796.xml",
"index.html": "/index.html",
"precache-manifest.8fd82602c5e17e5c990b3872e30de121.js": "/precache-manifest.8fd82602c5e17e5c990b3872e30de121.js",
"service-worker.js": "/service-worker.js"
}
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><link rel="shortcut icon" href="/heartexlabs/label-studio/favicon.ico"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/heartexlabs/label-studio/manifest.json"><title>Editor of Heartex</title><link href="/heartexlabs/label-studio/static/css/1.2716ee49.chunk.css" rel="stylesheet"><link href="/heartexlabs/label-studio/static/css/main.d28f49ad.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><h1 style="text-align:center;margin-top:20px">Editor by <a target="_blank" href="https://heartex.net">Heartex</a></h1><h2 style="text-align:center;margin-bottom:20px">Annotations for different types of data</h2><div id="root"></div><script>!function(a){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],l=0,i=[];l<n.length;l++)t=n[l],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(a[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),f()}function f(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=l(l.s=t[0]))}return e}var t={},p={2:0},c=[];function l(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return a[e].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=a,l.c=t,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},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(r,e){if(1&e&&(r=l(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)l.d(t,n,function(e){return r[e]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/heartexlabs/label-studio/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;f()}([])</script><script src="/heartexlabs/label-studio/static/js/1.397d9ac3.chunk.js"></script><script src="/heartexlabs/label-studio/static/js/main.23c00390.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><link rel="shortcut icon" href="/favicon.ico"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/manifest.json"><title>Editor of Heartex</title><link href="/static/css/1.6e9a54a1.chunk.css" rel="stylesheet"><link href="/static/css/main.1001b5f3.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><h1 style="text-align:center;margin-top:20px">Editor by <a target="_blank" href="https://heartex.net">Heartex</a></h1><h2 style="text-align:center;margin-bottom:20px">Annotations for different types of data</h2><div id="root"></div><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={2:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/1.0909fbd3.chunk.js"></script><script src="/static/js/main.fdb7ad00.chunk.js"></script></body></html>
90 changes: 0 additions & 90 deletions build/precache-manifest.8720481f20ee8a443413bf45c7f6d9fc.js

This file was deleted.

122 changes: 122 additions & 0 deletions build/precache-manifest.8fd82602c5e17e5c990b3872e30de121.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
self.__precacheManifest = [
{
revision: "701ae6abd4719e9c2ada3535a497b341",
url: "/static/media/outline-icons.701ae6ab.eot",
},
{
revision: "fdb7ad0016af4e2d0c9e",
url: "/static/css/main.1001b5f3.chunk.css",
},
{
revision: "a1a749e89f578a49306ec2b055c073da",
url: "/static/media/brand-icons.a1a749e8.svg",
},
{
revision: "0909fbd3991893a51c4b",
url: "/static/js/1.0909fbd3.chunk.js",
},
{
revision: "229c360febb4351a89df",
url: "/static/js/runtime~main.229c360f.js",
},
{
revision: "34f6aa9f08154334151cecbe3eda7f9d",
url: "/static/media/config.34f6aa9f.xml",
},
{
revision: "c5233796cc8c88c6a29e9c9e774b75f3",
url: "/static/media/config.c5233796.xml",
},
{
revision: "66767299666cb612a414a0203b3ea434",
url: "/static/media/config.66767299.xml",
},
{
revision: "0e2a1e7f9ce213d893be15030be82e31",
url: "/static/media/config.0e2a1e7f.xml",
},
{
revision: "2a6054fe2d1a7071dda594684b4d34c3",
url: "/static/media/config.2a6054fe.xml",
},
{
revision: "bb22cd0cdbea349aed67d063dafb2bdb",
url: "/static/media/config.bb22cd0c.xml",
},
{
revision: "32729adf64b699bf5495c21209bdf2cf",
url: "/static/media/config.32729adf.xml",
},
{
revision: "1890026d07f75e4691f2605665b1dc83",
url: "/static/media/config.1890026d.xml",
},
{
revision: "cd6c777f1945164224dee082abaea03a",
url: "/static/media/outline-icons.cd6c777f.woff2",
},
{
revision: "ef60a4f6c25ef7f39f2d25a748dbecfe",
url: "/static/media/outline-icons.ef60a4f6.woff",
},
{
revision: "fdb7ad0016af4e2d0c9e",
url: "/static/js/main.fdb7ad00.chunk.js",
},
{
revision: "ad97afd3337e8cda302d10ff5a4026b8",
url: "/static/media/outline-icons.ad97afd3.ttf",
},
{
revision: "0ab54153eeeca0ce03978cc463b257f7",
url: "/static/media/icons.0ab54153.woff2",
},
{
revision: "faff92145777a3cbaf8e7367b4807987",
url: "/static/media/icons.faff9214.woff",
},
{
revision: "e8c322de9658cbeb8a774b6624167c2c",
url: "/static/media/brand-icons.e8c322de.woff2",
},
{
revision: "a046592bac8f2fd96e994733faf3858c",
url: "/static/media/brand-icons.a046592b.woff",
},
{
revision: "9c74e172f87984c48ddf5c8108cabe67",
url: "/static/media/flags.9c74e172.png",
},
{
revision: "8e3c7f5520f5ae906c6cf6d7f3ddcd19",
url: "/static/media/icons.8e3c7f55.eot",
},
{
revision: "b87b9ba532ace76ae9f6edfe9f72ded2",
url: "/static/media/icons.b87b9ba5.ttf",
},
{
revision: "13db00b7a34fee4d819ab7f9838cc428",
url: "/static/media/brand-icons.13db00b7.eot",
},
{
revision: "c5ebe0b32dc1b5cc449a76c4204d13bb",
url: "/static/media/brand-icons.c5ebe0b3.ttf",
},
{
revision: "82f60bd0b94a1ed68b1e6e309ce2e8c3",
url: "/static/media/outline-icons.82f60bd0.svg",
},
{
revision: "962a1bf31c081691065fe333d9fa8105",
url: "/static/media/icons.962a1bf3.svg",
},
{
revision: "0909fbd3991893a51c4b",
url: "/static/css/1.6e9a54a1.chunk.css",
},
{
revision: "69549f137813bc38b3f0b5abe56025cd",
url: "/index.html",
},
];
4 changes: 2 additions & 2 deletions build/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");

importScripts("/heartexlabs/label-studio/precache-manifest.8720481f20ee8a443413bf45c7f6d9fc.js");
importScripts("/precache-manifest.8fd82602c5e17e5c990b3872e30de121.js");

workbox.clientsClaim();

Expand All @@ -26,6 +26,6 @@ self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.suppressWarnings();
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

workbox.routing.registerNavigationRoute("/heartexlabs/label-studio/index.html", {
workbox.routing.registerNavigationRoute("/index.html", {
blacklist: [/^\/_/, /\/[^\/]+\.[^\/]+$/],
});
1 change: 0 additions & 1 deletion build/static/css/1.2716ee49.chunk.css.map

This file was deleted.

Loading

0 comments on commit 806dbf8

Please sign in to comment.