PHBJT commited on
Commit
1612a44
·
verified ·
1 Parent(s): 7163182

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -23,16 +23,16 @@ SAMPLE_RATE = feature_extractor.sampling_rate
23
  SEED = 42
24
 
25
  default_text = "La voix humaine est un instrument de musique au-dessus de tous les autres."
26
- default_description = "The voice speaks slowly with a very noisy background, carrying a low-pitch tone and displaying a touch of expressiveness and animation. The sound is very distant, adding an air of intrigue."
27
  examples = [
28
  [
29
  "La voix humaine est un instrument de musique au-dessus de tous les autres.",
30
- "A male voice speaks slowly with a very noisy background, carrying a low-pitch tone and displaying a touch of expressiveness and animation. The sound is very distant, adding an air of intrigue.",
31
  None,
32
  ],
33
  [
34
  "Tout ce qu'un homme est capable d'imaginer, d'autres hommes seront capables de le réaliser.",
35
- "A female voice delivers a slightly expressive and animated speech with a moderate speed. The recording features a low-pitch voice and slight background noise, creating a close-sounding audio experience.",
36
  None,
37
  ],
38
  [
@@ -139,7 +139,7 @@ with gr.Blocks(css=css) as block:
139
  high-fidelity text-to-speech (TTS) models.</p>
140
  <p>The model demonstrated here, French Parler-TTS <a href="https://huggingface.co/PHBJT/french_parler_tts_mini_v0.1">Mini v0.1 French</a>,
141
  has been fine-tuned on a French dataset. It generates high-quality speech with features that can be controlled using a simple text prompt (e.g. gender, background noise, speaking rate, pitch and reverberation).
142
- Due to limitations on the dataset, this model might underperform for female voices.</p>
143
 
144
  <p>By default, Parler-TTS generates 🎲 random male voice characteristics. To ensure 🎯 <b>speaker consistency</b> across generations, try to use consistent descriptions in your prompts.</p>
145
  <p><b>Note:</b> do NOT specify the nationnality of the speaker it will cause inconsistent audio generation (do: "a male speaker", don't: "a french male speaker") </p>
 
23
  SEED = 42
24
 
25
  default_text = "La voix humaine est un instrument de musique au-dessus de tous les autres."
26
+ default_description = "A male voice speaks slowly with a very noisy background, displaying a touch of expressiveness and animation. The sound is very distant, adding an air of intrigue."
27
  examples = [
28
  [
29
  "La voix humaine est un instrument de musique au-dessus de tous les autres.",
30
+ "A male voice speaks slowly with a very noisy background, displaying a touch of expressiveness and animation. The sound is very distant, adding an air of intrigue.",
31
  None,
32
  ],
33
  [
34
  "Tout ce qu'un homme est capable d'imaginer, d'autres hommes seront capables de le réaliser.",
35
+ "A male voice delivers a slightly expressive and animated speech with a moderate speed. The recording features a low-pitch voice, creating a close-sounding audio experience.",
36
  None,
37
  ],
38
  [
 
139
  high-fidelity text-to-speech (TTS) models.</p>
140
  <p>The model demonstrated here, French Parler-TTS <a href="https://huggingface.co/PHBJT/french_parler_tts_mini_v0.1">Mini v0.1 French</a>,
141
  has been fine-tuned on a French dataset. It generates high-quality speech with features that can be controlled using a simple text prompt (e.g. gender, background noise, speaking rate, pitch and reverberation).
142
+ Due to limitations on the dataset, this model might underperform for female voices (we recomand using male voices only).</p>
143
 
144
  <p>By default, Parler-TTS generates 🎲 random male voice characteristics. To ensure 🎯 <b>speaker consistency</b> across generations, try to use consistent descriptions in your prompts.</p>
145
  <p><b>Note:</b> do NOT specify the nationnality of the speaker it will cause inconsistent audio generation (do: "a male speaker", don't: "a french male speaker") </p>