From e6d8831439bbde2b3d7179eb4e4b53cde3c22c48 Mon Sep 17 00:00:00 2001 From: sanj <67624670+iodrift@users.noreply.github.com> Date: Thu, 8 Aug 2024 19:40:56 -0700 Subject: [PATCH] Auto-update: Thu Aug 8 19:40:56 PDT 2024 --- sijapi/routers/tts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sijapi/routers/tts.py b/sijapi/routers/tts.py index 848bf08..f6d2457 100644 --- a/sijapi/routers/tts.py +++ b/sijapi/routers/tts.py @@ -225,8 +225,8 @@ async def determine_voice_id(voice_name: str) -> str: debug(f"Requested voice not among the voices specified in config/tts.yaml. Checking with ElevenLabs API.") url = "https://api.elevenlabs.io/v1/voices" - headers = {"xi-api-key": Tts.elevenlabs.api_key} - debug(f"Using api_key: {Tts.elevenlabs.api_key}") + headers = {"xi-api-key": Tts.elevenlabs.key} + debug(f"Using key: {Tts.elevenlabs.key}") async with httpx.AsyncClient() as client: try: response = await client.get(url, headers=headers)