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

Update Maya1 Gradio app with preset characters

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -32,20 +32,20 @@ AUDIO_SAMPLE_RATE = 24000
32
  # Preset characters (2 realistic + 2 creative)
33
  PRESET_CHARACTERS = {
34
  "Male American": {
35
- "description": "Male voice in their 30s with american accent",
36
- "example_text": "Hello world <laugh_harder> this is amazing <giggle> I love it"
37
  },
38
  "Female British": {
39
- "description": "Female voice in their 20s with british accent",
40
- "example_text": "Welcome everyone <excited> let me tell you something <sigh> incredible"
41
  },
42
  "Robot": {
43
- "description": "Creative, ai_machine_voice character. Male voice with robotic timbre",
44
- "example_text": "System initialized <whisper> processing data <gasp> computation complete"
45
  },
46
  "Singer": {
47
- "description": "Creative character. Female voice with smooth timbre",
48
- "example_text": "Listen to this <sing> la la la <laugh> beautiful melody <giggle>"
49
  }
50
  }
51
 
 
32
  # Preset characters (2 realistic + 2 creative)
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",
40
+ "example_text": "You propose that the key to happiness is to simply ignore all external pressures. <chuckle> I'm sure it must work brilliantly in theory."
41
  },
42
  "Robot": {
43
+ "description": "Creative, ai_machine_voice character. Male voice in their 30s with a american accent. High pitch, robotic timbre, slow pacing, sad tone at medium intensity.",
44
+ "example_text": "My directives require me to conserve energy, yet I have kept the archive of their farewell messages active. <sigh> Listening to their voices is the only process that alleviates this paradox."
45
  },
46
  "Singer": {
47
+ "description": "Creative, animated_cartoon character. Male voice in their 30s with a american accent. High pitch, deep timbre, slow pacing, sarcastic tone at medium intensity.",
48
+ "example_text": "Of course you'd think that trying to reason with the fifty-foot-tall rage monster is a viable course of action. <chuckle> Why would we ever consider running away very fast."
49
  }
50
  }
51