From da80656c36f20fb2db4ef6ecfdf912f61317a7a0 Mon Sep 17 00:00:00 2001 From: sanj <67624670+iodrift@users.noreply.github.com> Date: Thu, 8 Aug 2024 06:22:04 -0700 Subject: [PATCH] Auto-update: Thu Aug 8 06:22:04 PDT 2024 --- sijapi/routers/tts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sijapi/routers/tts.py b/sijapi/routers/tts.py index f3fb30a..8d6d6d9 100644 --- a/sijapi/routers/tts.py +++ b/sijapi/routers/tts.py @@ -147,7 +147,7 @@ async def generate_speech( if model == "eleven_turbo_v2": info("Using ElevenLabs.") - voice = determine_voice_id(voice) + voice = await determine_voice_id(voice) audio_file_path = await elevenlabs_tts(model, text, voice, title, output_dir) else: # if model == "xtts": info("Using XTTS2")