diff --git a/.gitignore b/.gitignore index 62ba3c1..b681127 100644 --- a/.gitignore +++ b/.gitignore @@ -1,26 +1,26 @@ -## editors -/.idea -/.vscode - -## system files -.DS_Store - -## npm -/node_modules/ -/npm-debug.log - -## testing -/coverage/ - -## temp folders -/.tmp/ - -# build -/_site/ -/dist/ -/out-tsc/ - -storybook-static -custom-elements.json - -yarn.lock +## editors +/.idea +/.vscode + +## system files +.DS_Store + +## npm +/node_modules/ +/npm-debug.log + +## testing +/coverage/ + +## temp folders +/.tmp/ + +# build +/_site/ +/dist/ +/out-tsc/ + +storybook-static +custom-elements.json + +yarn.lock diff --git a/demo/index.html b/demo/index.html index 1b01673..20b06fe 100644 --- a/demo/index.html +++ b/demo/index.html @@ -10,24 +10,84 @@ font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif; margin: 5% 10% 5% 10%; background-color: black; + color: white; + } + input[type="file"] { + margin: 1em 0; } +
+

Dynamic Whisper Transcript

+ +
+ +
+ +
+ +
+
+
diff --git a/docs/whisper-transcript.min.js b/docs/whisper-transcript.min.js index a161920..9a5b43c 100644 --- a/docs/whisper-transcript.min.js +++ b/docs/whisper-transcript.min.js @@ -153,7 +153,7 @@ class WhisperSegment extends r {
${hms(this.start)} - ${hms(this.end)}
${this.words.map(w => - x`` + x`` )}
diff --git a/src/WhisperSegment.js b/src/WhisperSegment.js index 96d1e25..1b06fe0 100644 --- a/src/WhisperSegment.js +++ b/src/WhisperSegment.js @@ -60,7 +60,7 @@ export class WhisperSegment extends LitElement {
${hms(this.start)} - ${hms(this.end)}
${this.words.map(w => - html`` + html`` )}