Text-to-Speech
Fairseq
English
audio
Changhan commited on
Commit
37e0ad8
1 Parent(s): afe4f75

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -4
README.md CHANGED
@@ -28,7 +28,7 @@ def tokenize(text):
28
  tokenized = [{",": "sp", ";": "sp"}.get(p, p) for p in tokenized]
29
  return " ".join(p for p in tokenized if p.isalnum())
30
 
31
- text = "This is a cool demo for speech synthesis, don't you think so?"
32
 
33
  tokenized = tokenize(text)
34
  sample = {
@@ -45,6 +45,4 @@ generation = generator.generate(model_ensemble[0], sample)
45
  waveform = generation[0]["waveform"]
46
 
47
  ipd.Audio(waveform, rate=task.sr)
48
- ```
49
-
50
- See: https://colab.research.google.com/drive/1gvq4Y1urrg9QrQ9031sZIP93LKspIh_X?usp=sharing
 
28
  tokenized = [{",": "sp", ";": "sp"}.get(p, p) for p in tokenized]
29
  return " ".join(p for p in tokenized if p.isalnum())
30
 
31
+ text = "Hello, this is a test run."
32
 
33
  tokenized = tokenize(text)
34
  sample = {
 
45
  waveform = generation[0]["waveform"]
46
 
47
  ipd.Audio(waveform, rate=task.sr)
48
+ ```