dbpq commited on
Commit
8522c26
·
verified ·
1 Parent(s): 7adfeeb

Upload 2 files

Browse files
Files changed (2) hide show
  1. index.html +48 -2
  2. styles.css +82 -1
index.html CHANGED
@@ -137,14 +137,14 @@
137
  </section>
138
 
139
  <!-- Demo Video Section -->
140
- <section class="demo-video" id="demo">
141
  <div class="container">
142
  <h2 class="section-title">See It In Action</h2>
143
  <h3 class="section-subtitle">Experience the speed and quality</h3>
144
 
145
  <div class="video-container">
146
  <iframe
147
- src="https://www.youtube.com/embed/aN0Y7XaOB2Q?si=-Cmiqd_NokJlpj8C"
148
  title="YouTube video player"
149
  frameborder="0"
150
  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
@@ -153,6 +153,38 @@
153
  </iframe>
154
  </div>
155
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  </div>
157
  </section>
158
 
@@ -335,6 +367,20 @@
335
 
336
  <div id="demoError" class="demo-error"></div>
337
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
338
  </div>
339
  </section>
340
 
 
137
  </section>
138
 
139
  <!-- Demo Video Section -->
140
+ <section class="intro-video" id="demo">
141
  <div class="container">
142
  <h2 class="section-title">See It In Action</h2>
143
  <h3 class="section-subtitle">Experience the speed and quality</h3>
144
 
145
  <div class="video-container">
146
  <iframe
147
+ src="https://www.youtube.com/embed/USdrptxgSnI"
148
  title="YouTube video player"
149
  frameborder="0"
150
  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
 
153
  </iframe>
154
  </div>
155
 
156
+ <div class="demo-videos-grid">
157
+ <div class="demo-video-item">
158
+ <div class="video-container">
159
+ <iframe
160
+ src="https://www.youtube.com/embed/EbHrtSmfoiE"
161
+ title="YouTube video player"
162
+ frameborder="0"
163
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
164
+ referrerpolicy="strict-origin-when-cross-origin"
165
+ allowfullscreen>
166
+ </iframe>
167
+ </div>
168
+ <h3>Raspberry Pi</h3>
169
+ <p>Watch Supertonic running on a Raspberry Pi, demonstrating on-device, real-time text-to-speech synthesis</p>
170
+ </div>
171
+
172
+ <div class="demo-video-item">
173
+ <div class="video-container">
174
+ <iframe
175
+ src="https://www.youtube.com/embed/tP_ceNiPc7g"
176
+ title="YouTube video player"
177
+ frameborder="0"
178
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
179
+ referrerpolicy="strict-origin-when-cross-origin"
180
+ allowfullscreen>
181
+ </iframe>
182
+ </div>
183
+ <h3>E-Reader</h3>
184
+ <p>Experience Supertonic on an Onyx Boox Go 6 e-reader in airplane mode, achieving an average RTF of 0.3× with zero network dependency</p>
185
+ </div>
186
+ </div>
187
+
188
  </div>
189
  </section>
190
 
 
367
 
368
  <div id="demoError" class="demo-error"></div>
369
  </div>
370
+
371
+ <div class="transformers-container">
372
+ <img src="img/hugging_supertonic.svg" alt="Hugging Face Supertonic" class="transformers-logo">
373
+ <p>
374
+ Supertonic is now fully supported in <a href="https://huggingface.co/docs/transformers.js/en/index" target="_blank" rel="noopener noreferrer">Transformers.js</a> 🤗!<br>
375
+ It uses a quantized ONNX version of Supertonic for faster inference.
376
+ </p>
377
+ <div class="transformers-buttons">
378
+ <a href="https://huggingface.co/spaces/webml-community/Supertonic-TTS-WebGPU" class="btn btn-secondary" target="_blank" rel="noopener noreferrer">
379
+ <span class="btn-label">Try it out</span>
380
+ <span class="arrow">↗</span>
381
+ </a>
382
+ </div>
383
+ </div>
384
  </div>
385
  </section>
386
 
styles.css CHANGED
@@ -831,7 +831,7 @@ section {
831
  }
832
 
833
  /* Demo Video Section */
834
- .demo-video {
835
  padding: 5rem 0;
836
  }
837
 
@@ -857,6 +857,48 @@ section {
857
  outline: none;
858
  }
859
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
860
  .demo-note {
861
  text-align: center;
862
  color: #A8B3C1;
@@ -879,6 +921,45 @@ section {
879
  box-shadow: none;
880
  }
881
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
882
  .demo-status-box {
883
  display: flex;
884
  justify-content: space-between;
 
831
  }
832
 
833
  /* Demo Video Section */
834
+ .intro-video {
835
  padding: 5rem 0;
836
  }
837
 
 
857
  outline: none;
858
  }
859
 
860
+ .demo-videos-grid {
861
+ display: grid;
862
+ grid-template-columns: 1fr 1fr;
863
+ gap: 2rem;
864
+ margin-top: 5rem;
865
+ }
866
+
867
+ .demo-video-item {
868
+ display: flex;
869
+ flex-direction: column;
870
+ }
871
+
872
+ .demo-video-item .video-container {
873
+ width: 100%;
874
+ margin: 0 0 1.5rem 0;
875
+ position: relative;
876
+ padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 * 100 = 56.25%) */
877
+ height: 0;
878
+ border-radius: 12px;
879
+ overflow: hidden;
880
+ background: var(--light);
881
+ }
882
+
883
+ .demo-video-item h3 {
884
+ font-size: 1.5rem;
885
+ margin: 0 0 0.75rem 0;
886
+ color: var(--text);
887
+ }
888
+
889
+ .demo-video-item p {
890
+ margin: 0;
891
+ line-height: 1.6;
892
+ color: var(--text-secondary);
893
+ }
894
+
895
+ @media (max-width: 768px) {
896
+ .demo-videos-grid {
897
+ grid-template-columns: 1fr;
898
+ gap: 2rem;
899
+ }
900
+ }
901
+
902
  .demo-note {
903
  text-align: center;
904
  color: #A8B3C1;
 
921
  box-shadow: none;
922
  }
923
 
924
+ .transformers-container {
925
+ margin: 1rem auto 0;
926
+ border-radius: 12px;
927
+ box-shadow: none;
928
+ text-align: center;
929
+ }
930
+
931
+ .transformers-logo {
932
+ width: 100px;
933
+ display: block;
934
+ margin-left: auto;
935
+ margin-right: auto;
936
+ }
937
+
938
+ .transformers-container p {
939
+ margin: 0;
940
+ line-height: 1.6;
941
+ color: black;
942
+ }
943
+
944
+ .transformers-container a {
945
+ color: inherit;
946
+ text-decoration: underline;
947
+ }
948
+
949
+ .transformers-container .btn,
950
+ .transformers-container .transformers-buttons a {
951
+ text-decoration: none;
952
+ }
953
+
954
+ .transformers-buttons {
955
+ display: flex;
956
+ gap: 1.5rem;
957
+ justify-content: center;
958
+ flex-wrap: wrap;
959
+ width: 100%;
960
+ margin-top: 2rem;
961
+ }
962
+
963
  .demo-status-box {
964
  display: flex;
965
  justify-content: space-between;