PHBJT commited on
Commit
e80acc5
·
verified ·
1 Parent(s): ba675e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -23,54 +23,54 @@ 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 = "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
  # French
29
  [
30
  "La voix humaine est un instrument de musique au-dessus de tous les autres.",
31
- "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.",
32
  None,
33
  ],
34
  # Spanish
35
  [
36
  "La voz es el reflejo del alma en el espejo del tiempo.",
37
- "A female voice speaks with moderate speed, showing warmth and clarity. The recording is clean with minimal background noise and has natural resonance.",
38
  None,
39
  ],
40
  # Italian
41
  [
42
  "La voce umana è la più bella musica che esista al mondo.",
43
- "A male voice delivers the message with passion and depth. The recording has good clarity with slight room acoustics and a medium-distance perspective.",
44
  None,
45
  ],
46
  # Portuguese
47
  [
48
  "A voz é o espelho da alma e o som do coração.",
49
- "A young female voice speaks with enthusiasm and energy. The recording is close-miked with crisp audio quality and subtle room ambiance.",
50
  None,
51
  ],
52
  # Polish
53
  [
54
  "Głos ludzki jest najpiękniejszym instrumentem świata.",
55
- "An elderly male voice speaks with wisdom and gravitas. The recording has a vintage quality with some characteristic analog warmth.",
56
  None,
57
  ],
58
  # German
59
  [
60
  "Die menschliche Stimme ist das schönste Instrument der Welt.",
61
- "A mature female voice speaks with authority and precision. The recording is studio-quality with perfect clarity and no background noise.",
62
  None,
63
  ],
64
  # Dutch
65
  [
66
  "De menselijke stem is het mooiste instrument dat er bestaat.",
67
- "A middle-aged male voice speaks with gentle inflection and warmth. The recording has natural room acoustics and balanced frequency response.",
68
  None,
69
  ],
70
  # English
71
  [
72
  "The human voice is nature's most perfect instrument.",
73
- "A young male voice speaks with dynamic expression and energy. The recording is professional quality with subtle environmental ambiance.",
74
  None,
75
  ],
76
  ]
 
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 woman with a slightly low- pitched voice speaks slowly in a clear and close- sounding environment, but her delivery is quite monotone."
27
  examples = [
28
  # French
29
  [
30
  "La voix humaine est un instrument de musique au-dessus de tous les autres.",
31
+ "a woman with a slightly low- pitched voice speaks slowly in a clear and close- sounding environment, but her delivery is quite monotone.",
32
  None,
33
  ],
34
  # Spanish
35
  [
36
  "La voz es el reflejo del alma en el espejo del tiempo.",
37
+ "a man with a moderate pitch voice speaks slowly with a slightly animated delivery in a very close- sounding environment with minimal background noise.",
38
  None,
39
  ],
40
  # Italian
41
  [
42
  "La voce umana è la più bella musica che esista al mondo.",
43
+ "a man with a moderate pitch speaks slowly in a very noisy environment that sounds very distant, delivering his words in a monotone manner.",
44
  None,
45
  ],
46
  # Portuguese
47
  [
48
  "A voz é o espelho da alma e o som do coração.",
49
+ "a man speaks slowly in a distant- sounding environment with a clean audio quality, delivering his message in a monotone voice at a moderate pitch. ",
50
  None,
51
  ],
52
  # Polish
53
  [
54
  "Głos ludzki jest najpiękniejszym instrumentem świata.",
55
+ "a man with a moderate pitch speaks in a monotone manner at a slightly slow pace, but the recording is quite noisy and sounds very distant.",
56
  None,
57
  ],
58
  # German
59
  [
60
  "Die menschliche Stimme ist das schönste Instrument der Welt.",
61
+ "a man with a moderate pitch speaks slowly in a noisy environment with a flat tone of voice, creating a slightly close- sounding effect.",
62
  None,
63
  ],
64
  # Dutch
65
  [
66
  "De menselijke stem is het mooiste instrument dat er bestaat.",
67
+ "a man with a moderate pitch speaks slightly slowly with an expressive and animated delivery in a very close- sounding environment with a bit of background noise.",
68
  None,
69
  ],
70
  # English
71
  [
72
  "The human voice is nature's most perfect instrument.",
73
+ "Aa woman with a slightly low- pitched voice speaks slowly in a very distant- sounding environment with a clean audio quality, delivering her message in a very monotone manner.",
74
  None,
75
  ],
76
  ]