Spaces:
Paused
Paused
Update main.ts
Browse files
main.ts
CHANGED
|
@@ -311,17 +311,6 @@ async function handleDemoRequest(req: Request) {
|
|
| 311 |
|
| 312 |
});
|
| 313 |
|
| 314 |
-
const rateSlider = document.getElementById('rate');
|
| 315 |
-
const rateValue = document.getElementById('rateValue');
|
| 316 |
-
rateSlider.oninput = function() {
|
| 317 |
-
rateValue.innerHTML = this.value;
|
| 318 |
-
};
|
| 319 |
-
|
| 320 |
-
const pitchSlider = document.getElementById('pitch');
|
| 321 |
-
const pitchValue = document.getElementById('pitchValue');
|
| 322 |
-
pitchSlider.oninput = function() {
|
| 323 |
-
pitchValue.innerHTML = this.value;
|
| 324 |
-
};
|
| 325 |
async function fetchModels() {
|
| 326 |
try {
|
| 327 |
const response = await fetch('/v1/audio/models');
|
|
|
|
| 311 |
|
| 312 |
});
|
| 313 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 314 |
async function fetchModels() {
|
| 315 |
try {
|
| 316 |
const response = await fetch('/v1/audio/models');
|