getapi commited on
Commit
2da9eba
·
verified ·
1 Parent(s): 2192f97

Update app.ts

Browse files
Files changed (1) hide show
  1. app.ts +1 -1
app.ts CHANGED
@@ -308,7 +308,7 @@ async function handleDemoRequest(req: Request) {
308
  const apiVoices = document.getElementById('apiVoices');
309
  const currentUrl = window.location.origin;
310
  const voices_pre = \`curl \${currentUrl}/v1/audio/models\`;
311
- const examples_pre = \`curl 'https://gnilets-tts.hf.space/v1/audio/speech' \\\\\\\\
312
  -H 'content-type: application/json' \\\\\\\\
313
  --data-raw '{"model":"brian","input":"привет! хрю-хрю!","voice":"rate:0|pitch:0"}' \\\\\\\\
314
  -o tts_voice.mp3
 
308
  const apiVoices = document.getElementById('apiVoices');
309
  const currentUrl = window.location.origin;
310
  const voices_pre = \`curl \${currentUrl}/v1/audio/models\`;
311
+ const examples_pre = \`curl \${currentUrl}/v1/audio/speech \\\\\\\\
312
  -H 'content-type: application/json' \\\\\\\\
313
  --data-raw '{"model":"brian","input":"привет! хрю-хрю!","voice":"rate:0|pitch:0"}' \\\\\\\\
314
  -o tts_voice.mp3