ylacombe commited on
Commit
118ad93
·
verified ·
1 Parent(s): 128d2fa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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 with a slightly low-pitched voice delivers her words quite expressively, in a very confined sounding environment with clear audio quality. She speaks very fast.`
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 with a slightly low-pitched voice delivers her words quite expressively, in a very confined sounding environment with clear audio quality. She speaks very fast."
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)