davidmezzetti commited on
Commit
77b1ee7
1 Parent(s): ed81139

Update README

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -28,10 +28,10 @@ from txtai.pipeline import TextToSpeech
28
  tts = TextToSpeech("NeuML/ljspeech-vits-onnx")
29
 
30
  # Generate speech
31
- speech = tts("Say something here")
32
 
33
  # Write to file
34
- sf.write("out.wav", speech, 22050)
35
  ```
36
 
37
  ## Usage with ONNX
 
28
  tts = TextToSpeech("NeuML/ljspeech-vits-onnx")
29
 
30
  # Generate speech
31
+ speech, rate = tts("Say something here")
32
 
33
  # Write to file
34
+ sf.write("out.wav", speech, rate)
35
  ```
36
 
37
  ## Usage with ONNX