Update README.md
Browse files
README.md
CHANGED
@@ -47,7 +47,7 @@ pip install git+https://github.com/huggingface/parler-tts.git
|
|
47 |
|
48 |
|
49 |
**Parler-TTS** has been trained to generate speech with features that can be controlled with a simple text prompt, for example:
|
50 |
-
`A female speaker
|
51 |
|
52 |
```py
|
53 |
import torch
|
@@ -61,7 +61,7 @@ model = ParlerTTSForConditionalGeneration.from_pretrained("parler-tts/parler-tts
|
|
61 |
tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler-tts-mini-v1")
|
62 |
|
63 |
prompt = "Hey, how are you doing today?"
|
64 |
-
description = "A female speaker
|
65 |
|
66 |
input_ids = tokenizer(description, return_tensors="pt").input_ids.to(device)
|
67 |
prompt_input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to(device)
|
|
|
47 |
|
48 |
|
49 |
**Parler-TTS** has been trained to generate speech with features that can be controlled with a simple text prompt, for example:
|
50 |
+
`A female speaker delivers a slightly expressive and animated speech with a moderate speed and pitch. The recording is of very high quality, with the speaker's voice sounding clear and very close up.`
|
51 |
|
52 |
```py
|
53 |
import torch
|
|
|
61 |
tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler-tts-mini-v1")
|
62 |
|
63 |
prompt = "Hey, how are you doing today?"
|
64 |
+
description = "A female speaker delivers a slightly expressive and animated speech with a moderate speed and pitch. The recording is of very high quality, with the speaker's voice sounding clear and very close up."
|
65 |
|
66 |
input_ids = tokenizer(description, return_tensors="pt").input_ids.to(device)
|
67 |
prompt_input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to(device)
|