Update app.py
Browse files
app.py
CHANGED
@@ -308,23 +308,7 @@ with gr.Blocks(title="Media Generation and Search Explorer") as demo:
|
|
308 |
tts_input_text = gr.Textbox(label="Enter text to convert to speech", lines=3)
|
309 |
tts_voice_selection = gr.Dropdown(
|
310 |
label="Select Voice",
|
311 |
-
choices=[
|
312 |
-
'helpful woman',
|
313 |
-
'customer support lady',
|
314 |
-
'professional woman',
|
315 |
-
'pleasant man',
|
316 |
-
'calm lady',
|
317 |
-
'friendly reading man',
|
318 |
-
'wise man',
|
319 |
-
'newsman',
|
320 |
-
'reading lady',
|
321 |
-
'british lady',
|
322 |
-
'australian woman',
|
323 |
-
'american woman',
|
324 |
-
'american man',
|
325 |
-
'narrator woman',
|
326 |
-
'narrator man'
|
327 |
-
],
|
328 |
value="helpful woman"
|
329 |
)
|
330 |
tts_generate_button = gr.Button("Generate Audio")
|
@@ -337,7 +321,7 @@ with gr.Blocks(title="Media Generation and Search Explorer") as demo:
|
|
337 |
|
338 |
Args:
|
339 |
text (str): The text to convert to speech
|
340 |
-
voice (str): The voice to use for speech synthesis. All available voices are:
|
341 |
|
342 |
Returns:
|
343 |
str: Path to the generated audio file or error message
|
|
|
308 |
tts_input_text = gr.Textbox(label="Enter text to convert to speech", lines=3)
|
309 |
tts_voice_selection = gr.Dropdown(
|
310 |
label="Select Voice",
|
311 |
+
choices=['calm lady', 'meditation lady', 'storyteller lady', 'wise lady', 'teacher lady', 'wise man', 'customer support man', 'tutorial man', 'helpful woman', 'customer support lady', 'asmr lady', 'pleasant man', 'professional woman', 'reading lady', 'reading man'],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
312 |
value="helpful woman"
|
313 |
)
|
314 |
tts_generate_button = gr.Button("Generate Audio")
|
|
|
321 |
|
322 |
Args:
|
323 |
text (str): The text to convert to speech
|
324 |
+
voice (str): The voice to use for speech synthesis. All available voices are: calm lady, meditation lady, storyteller lady, wise lady, teacher lady, wise man, customer support man, tutorial man, helpful woman, customer support lady, asmr lady, pleasant man, professional woman, reading lady, reading man. Default is Helpful Woman.
|
325 |
|
326 |
Returns:
|
327 |
str: Path to the generated audio file or error message
|