Update vocify.py
Browse files
vocify.py
CHANGED
|
@@ -4,23 +4,28 @@ import io
|
|
| 4 |
|
| 5 |
# Voice mapping dictionary
|
| 6 |
VOICE_MAPPING = {
|
| 7 |
-
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
"
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
-
"
|
| 22 |
-
"
|
| 23 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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):
|