Commit
·
28cedf1
1
Parent(s):
dc0b61d
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -56,7 +56,7 @@ import torch
|
|
| 56 |
model = VitsModel.from_pretrained("facebook/mms-tts-eng")
|
| 57 |
tokenizer = AutoTokenizer.from_pretrained("facebook/mms-tts-eng")
|
| 58 |
|
| 59 |
-
text = "
|
| 60 |
inputs = tokenizer(text, return_tensors="pt")
|
| 61 |
|
| 62 |
with torch.no_grad():
|
|
@@ -79,6 +79,8 @@ from IPython.display import Audio
|
|
| 79 |
Audio(output, rate=model.config.sampling_rate)
|
| 80 |
```
|
| 81 |
|
|
|
|
|
|
|
| 82 |
## BibTex citation
|
| 83 |
|
| 84 |
This model was developed by Vineel Pratap et al. from Meta AI. If you use the model, consider citing the MMS paper:
|
|
@@ -94,4 +96,4 @@ This model was developed by Vineel Pratap et al. from Meta AI. If you use the mo
|
|
| 94 |
|
| 95 |
## License
|
| 96 |
|
| 97 |
-
The model is licensed as **CC-BY-NC 4.0**.
|
|
|
|
| 56 |
model = VitsModel.from_pretrained("facebook/mms-tts-eng")
|
| 57 |
tokenizer = AutoTokenizer.from_pretrained("facebook/mms-tts-eng")
|
| 58 |
|
| 59 |
+
text = "some example text in the English language"
|
| 60 |
inputs = tokenizer(text, return_tensors="pt")
|
| 61 |
|
| 62 |
with torch.no_grad():
|
|
|
|
| 79 |
Audio(output, rate=model.config.sampling_rate)
|
| 80 |
```
|
| 81 |
|
| 82 |
+
|
| 83 |
+
|
| 84 |
## BibTex citation
|
| 85 |
|
| 86 |
This model was developed by Vineel Pratap et al. from Meta AI. If you use the model, consider citing the MMS paper:
|
|
|
|
| 96 |
|
| 97 |
## License
|
| 98 |
|
| 99 |
+
The model is licensed as **CC-BY-NC 4.0**.
|