Veena commited on
Commit
38c136c
·
1 Parent(s): 52f34e9

Update Maya1 Gradio app with preset characters

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,7 +33,7 @@ AUDIO_SAMPLE_RATE = 24000
33
  PRESET_CHARACTERS = {
34
  "Male American": {
35
  "description": "Realistic male voice in the 20s age with a american accent. High pitch, raspy timbre, brisk pacing, neutral tone delivery at medium intensity, viral_content domain, short_form_narrator role, neutral delivery",
36
- "example_text": "And of course, the so-called easy hack didn't work at all. <sigh> What a surprise."
37
  },
38
  "Female British": {
39
  "description": "Realistic female voice in the 30s age with a british accent. Normal pitch, throaty timbre, conversational pacing, sarcastic tone delivery at low intensity, podcast domain, interviewer role, formal delivery",
@@ -271,7 +271,7 @@ with gr.Blocks(title="Maya1 - Open Source Emotional TTS", theme=gr.themes.Soft()
271
  max_tokens_slider = gr.Slider(
272
  minimum=100,
273
  maximum=2048,
274
- value=500,
275
  step=50,
276
  label="Max Tokens",
277
  info="More tokens = longer audio"
 
33
  PRESET_CHARACTERS = {
34
  "Male American": {
35
  "description": "Realistic male voice in the 20s age with a american accent. High pitch, raspy timbre, brisk pacing, neutral tone delivery at medium intensity, viral_content domain, short_form_narrator role, neutral delivery",
36
+ "example_text": "And of course, the so-called easy hack didn't work at all. What a surprise. <sigh>"
37
  },
38
  "Female British": {
39
  "description": "Realistic female voice in the 30s age with a british accent. Normal pitch, throaty timbre, conversational pacing, sarcastic tone delivery at low intensity, podcast domain, interviewer role, formal delivery",
 
271
  max_tokens_slider = gr.Slider(
272
  minimum=100,
273
  maximum=2048,
274
+ value=1500,
275
  step=50,
276
  label="Max Tokens",
277
  info="More tokens = longer audio"