Update README.md
Browse files
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 = "
|
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 |
+
```
|
|
|
|