gnilets commited on
Commit
e775f61
·
verified ·
1 Parent(s): 2dd9b41

Update main.ts

Browse files
Files changed (1) hide show
  1. main.ts +4 -4
main.ts CHANGED
@@ -301,10 +301,10 @@ async function handleDemoRequest(req: Request) {
301
  curl \${currentUrl}/v1/audio/models
302
 
303
  синтезировать голос из текста:
304
- curl '\${currentUrl}/v1/audio/speech' \\
305
- -H 'content-type: application/json' \\
306
- --data-raw '{"model":"brian","input":"привет! хрю-хрю!","voice":"rate:0|pitch:0"}' \\
307
- -o voice.mp3
308
  \`;
309
 
310
  apiExamples.textContent = examples;
 
301
  curl \${currentUrl}/v1/audio/models
302
 
303
  синтезировать голос из текста:
304
+ curl 'https://gnilets-tts.hf.space/v1/audio/speech' \\\
305
+ -H 'content-type: application/json' \\\
306
+ --data-raw '{"model":"brian","input":"привет! хрю-хрю!","voice":"rate:0|pitch:0"}' \\\
307
+ -o tts_voice.mp3
308
  \`;
309
 
310
  apiExamples.textContent = examples;