davidmezzetti commited on
Commit
0698529
1 Parent(s): 96dd639

Update README

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -13,7 +13,7 @@ library_name: txtai
13
 
14
  # ESPnet JETS Text-to-Speech (TTS) Model for ONNX
15
 
16
- [imdanboy/jets](https://huggingface.co/imdanboy/jets) exported to ONNX. This model is an ONNX export using the [espnet_onnx](https://github.com/espnet/espnet_onnx) library.
17
 
18
  ## Usage with txtai
19
 
@@ -28,10 +28,10 @@ from txtai.pipeline import TextToSpeech
28
  tts = TextToSpeech("NeuML/ljspeech-jets-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
 
13
 
14
  # ESPnet JETS Text-to-Speech (TTS) Model for ONNX
15
 
16
+ [imdanboy/jets](https://huggingface.co/imdanboy/ljspeech_tts_train_jets_raw_phn_tacotron_g2p_en_no_space_train.total_count.ave) exported to ONNX. This model is an ONNX export using the [espnet_onnx](https://github.com/espnet/espnet_onnx) library.
17
 
18
  ## Usage with txtai
19
 
 
28
  tts = TextToSpeech("NeuML/ljspeech-jets-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