Update README.md
Browse files
README.md
CHANGED
@@ -66,6 +66,7 @@ pip install git+https://github.com/huggingface/parler-tts.git
|
|
66 |
|
67 |
## Utilisation
|
68 |
## Exemple de base
|
|
|
69 |
'''py
|
70 |
import torch
|
71 |
from parler_tts import ParlerTTSForConditionalGeneration
|
@@ -102,6 +103,7 @@ sf.write("output.wav", audio.cpu().numpy().squeeze(), model.config.sampling_rate
|
|
102 |
|
103 |
## Configuration avancée
|
104 |
## Paramètres de génération
|
|
|
105 |
'''py
|
106 |
generation_config = {
|
107 |
"temperature": 0.8, # Contrôle la variabilité de la sortie
|
@@ -117,6 +119,7 @@ audio = model.generate(
|
|
117 |
**generation_config
|
118 |
)
|
119 |
'''
|
|
|
120 |
<audio controls>
|
121 |
<source src="https://huggingface.co/spaces/CONCREE/Adia_TTS/resolve/main/avct.wav" type="audio/wav">
|
122 |
</audio>
|
@@ -167,7 +170,9 @@ description = "A clear and educational voice, with a flow adapted to learning"
|
|
167 |
journal = {Hugging Face repository},
|
168 |
howpublished = {\url{https://huggingface.co/CONCREE/Adia_TTS}}
|
169 |
}
|
|
|
170 |
|
|
|
171 |
@misc{lyth2024natural,
|
172 |
title={Natural language guidance of high-fidelity text-to-speech with synthetic annotations},
|
173 |
author={Dan Lyth and Simon King},
|
|
|
66 |
|
67 |
## Utilisation
|
68 |
## Exemple de base
|
69 |
+
|
70 |
'''py
|
71 |
import torch
|
72 |
from parler_tts import ParlerTTSForConditionalGeneration
|
|
|
103 |
|
104 |
## Configuration avancée
|
105 |
## Paramètres de génération
|
106 |
+
|
107 |
'''py
|
108 |
generation_config = {
|
109 |
"temperature": 0.8, # Contrôle la variabilité de la sortie
|
|
|
119 |
**generation_config
|
120 |
)
|
121 |
'''
|
122 |
+
|
123 |
<audio controls>
|
124 |
<source src="https://huggingface.co/spaces/CONCREE/Adia_TTS/resolve/main/avct.wav" type="audio/wav">
|
125 |
</audio>
|
|
|
170 |
journal = {Hugging Face repository},
|
171 |
howpublished = {\url{https://huggingface.co/CONCREE/Adia_TTS}}
|
172 |
}
|
173 |
+
'''
|
174 |
|
175 |
+
'''
|
176 |
@misc{lyth2024natural,
|
177 |
title={Natural language guidance of high-fidelity text-to-speech with synthetic annotations},
|
178 |
author={Dan Lyth and Simon King},
|