Spaces:
Sleeping
Sleeping
prep for eleven_english_v2
Browse files- speech_service.py +1 -0
speech_service.py
CHANGED
@@ -6,6 +6,7 @@ from elevenlabs import generate, stream
|
|
6 |
|
7 |
class SpeechService:
|
8 |
def __init__(self, voice_id="Bella", model_id="eleven_monolingual_v1"):
|
|
|
9 |
account_sid = os.environ["ELEVENLABS_API_KEY"]
|
10 |
set_api_key(account_sid)
|
11 |
self._voice_id = voice_id
|
|
|
6 |
|
7 |
class SpeechService:
|
8 |
def __init__(self, voice_id="Bella", model_id="eleven_monolingual_v1"):
|
9 |
+
# def __init__(self, voice_id="Bella", model_id="eleven_english_v2"):
|
10 |
account_sid = os.environ["ELEVENLABS_API_KEY"]
|
11 |
set_api_key(account_sid)
|
12 |
self._voice_id = voice_id
|