Spaces:
Sleeping
Sleeping
Commit ·
7aba3a7
1
Parent(s): bf6e45c
Default to male voice (am_michael) for the Folio interviewer persona
Browse files- services/tts_service.py +4 -2
services/tts_service.py
CHANGED
|
@@ -28,8 +28,10 @@ import threading
|
|
| 28 |
from collections import OrderedDict
|
| 29 |
from pathlib import Path
|
| 30 |
|
| 31 |
-
# American English by default.
|
| 32 |
-
|
|
|
|
|
|
|
| 33 |
SAMPLE_RATE = 24000
|
| 34 |
|
| 35 |
_SERVICE_ROOT = Path(__file__).resolve().parent.parent
|
|
|
|
| 28 |
from collections import OrderedDict
|
| 29 |
from pathlib import Path
|
| 30 |
|
| 31 |
+
# American English by default. The interviewer persona ("Folio") uses a male
|
| 32 |
+
# voice — am_michael is the highest-rated US male in Kokoro v1.0 (am_fenrir and
|
| 33 |
+
# am_puck are the alternatives; af_heart is the best female if ever needed).
|
| 34 |
+
DEFAULT_VOICE = "am_michael"
|
| 35 |
SAMPLE_RATE = 24000
|
| 36 |
|
| 37 |
_SERVICE_ROOT = Path(__file__).resolve().parent.parent
|