Update README.md
Browse files
README.md
CHANGED
|
@@ -28,9 +28,8 @@ Authors: Yifan Yang, Bing Han, Hui Wang, Wei Wang, Ziyang Ma, Long Zhou, Zengrui
|
|
| 28 |
import torch
|
| 29 |
from transformers import AutoModel
|
| 30 |
|
| 31 |
-
|
| 32 |
model = AutoModel.from_pretrained(
|
| 33 |
-
"yfyeung/CLSP",
|
| 34 |
trust_remote_code=True,
|
| 35 |
)
|
| 36 |
if torch.cuda.is_available():
|
|
@@ -44,7 +43,7 @@ text = [
|
|
| 44 |
"A male speaker with a medium-pitched British accent.",
|
| 45 |
"A female speaker delivers her enunciated words rapidly in a medium-pitched British accent, conveying an authoritative tone.",
|
| 46 |
"A female speaker delivers her enunciated words slowly in a medium-pitched Chinese accent, conveying an authoritative tone.",
|
| 47 |
-
"A mature female with a clear, medium-pitched voice and a British accent speaks in a formal, presentational style, characteristic of a newsreader or broadcaster. She delivers her speech at a fast pace with deliberate enunciation and a measured, authoritative rhythm. Her tone remains neutral and informative, with subtle emphasis on specific phrases, and her volume is consistently loud and steady. The delivery is fluent and controlled."
|
| 48 |
]
|
| 49 |
|
| 50 |
with torch.no_grad():
|
|
|
|
| 28 |
import torch
|
| 29 |
from transformers import AutoModel
|
| 30 |
|
|
|
|
| 31 |
model = AutoModel.from_pretrained(
|
| 32 |
+
"yfyeung/CLSP",
|
| 33 |
trust_remote_code=True,
|
| 34 |
)
|
| 35 |
if torch.cuda.is_available():
|
|
|
|
| 43 |
"A male speaker with a medium-pitched British accent.",
|
| 44 |
"A female speaker delivers her enunciated words rapidly in a medium-pitched British accent, conveying an authoritative tone.",
|
| 45 |
"A female speaker delivers her enunciated words slowly in a medium-pitched Chinese accent, conveying an authoritative tone.",
|
| 46 |
+
"A mature female with a clear, medium-pitched voice and a British accent speaks in a formal, presentational style, characteristic of a newsreader or broadcaster. She delivers her speech at a fast pace with deliberate enunciation and a measured, authoritative rhythm. Her tone remains neutral and informative, with subtle emphasis on specific phrases, and her volume is consistently loud and steady. The delivery is fluent and controlled.",
|
| 47 |
]
|
| 48 |
|
| 49 |
with torch.no_grad():
|