Retrieving the elevenlabs voice ID from environment variable

This commit is contained in:
filipi87
2026-03-02 19:02:51 -03:00
parent 07fdd610ca
commit 7afd7068b5

View File

@@ -53,7 +53,7 @@ async def main():
tts = ElevenLabsTTSService(
api_key=os.getenv("ELEVENLABS_API_KEY", ""),
voice_id="ys3XeJJA4ArWMhRpcX1D",
voice_id=os.getenv("ELEVENLABS_VOICE_ID", ""),
)
messages = [