PyxiLabs commited on
Commit
0511107
·
verified ·
1 Parent(s): de2353d

Update vocify.py

Browse files
Files changed (1) hide show
  1. vocify.py +22 -17
vocify.py CHANGED
@@ -4,23 +4,28 @@ import io
4
 
5
  # Voice mapping dictionary
6
  VOICE_MAPPING = {
7
- "charlottee": "XB0fDUnXU5powFXDhCwa",
8
- "daniel": "onwK4e9ZLuTAKqWW03F9",
9
- "callum": "N2lVS1w4EtoT3dr4eOWO",
10
- "charlie": "IKne3meq5aSn9XLyUdCD",
11
- "clyde": "2EiwWnXFnvU5JabPnv8n",
12
- "dave": "CYw3kZ02Hs0563khs1Fj",
13
- "emily": "LcfcDJNUP1GQjkzn1xUU",
14
- "ethan": "g5CIjZEefAph4nQFvHAz",
15
- "fin": "D38z5RcWu1voky8WS1ja",
16
- "freya": "jsCqWAovK2LkecY7zXl4",
17
- "gigi": "jBpfuIE2acCO8z3wKNLl",
18
- "giovanni": "zcAOhNBS3c14rBihAFp1",
19
- "glinda": "z9fAnlkpzviPz146aGWa",
20
- "grace": "oWAxZDx7w5VEj9dCyTzz",
21
- "harry": "SOYHLrjzK2X1ezoPC6cr",
22
- "james": "ZQe5CZNOzWyzPSCn5a3c",
23
- "jeremy": "bVMeCyTHy58xNoL34h3p"
 
 
 
 
 
24
  }
25
 
26
  def split_text_into_chunks(text, max_length=490):
 
4
 
5
  # Voice mapping dictionary
6
  VOICE_MAPPING = {
7
+ # Female Voices
8
+ "seraphina": "XB0fDUnXU5powFXDhCwa", # Elegant and sophisticated
9
+ "isabella": "LcfcDJNUP1GQjkzn1xUU", # Classic and timeless
10
+ "astrid": "jsCqWAovK2LkecY7zXl4", # Strong and Nordic-inspired
11
+ "lila": "jBpfuIE2acCO8z3wKNLl", # Playful and charming
12
+ "elara": "z9fAnlkpzviPz146aGWa", # Mystical and enchanting
13
+ "evelyn": "oWAxZDx7w5VEj9dCyTzz", # Graceful and refined
14
+
15
+ # Male Voices
16
+ "sebastian": "onwK4e9ZLuTAKqWW03F9", # Strong and authoritative
17
+ "finnian": "N2lVS1w4EtoT3dr4eOWO", # Rugged and adventurous
18
+ "theodore": "IKne3meq5aSn9XLyUdCD", # Warm and friendly
19
+ "magnus": "2EiwWnXFnvU5JabPnv8n", # Bold and powerful
20
+ "oliver": "CYw3kZ02Hs0563khs1Fj", # Reliable and approachable
21
+ "liam": "g5CIjZEefAph4nQFvHAz", # Modern and confident
22
+ "arthur": "SOYHLrjzK2X1ezoPC6cr", # Classic and noble
23
+ "elliot": "ZQe5CZNOzWyzPSCn5a3c", # Sophisticated and calm
24
+ "nathaniel": "bVMeCyTHy58xNoL34h3p", # Wise and thoughtful
25
+
26
+ # Neutral Voices
27
+ "rowan": "D38z5RcWu1voky8WS1ja", # Unisex, nature-inspired
28
+ "avery": "zcAOhNBS3c14rBihAFp1", # Unisex, modern and versatile
29
  }
30
 
31
  def split_text_into_chunks(text, max_length=490):