Auto-update: Thu Aug 8 06:22:04 PDT 2024

This commit is contained in:
sanj 2024-08-08 06:22:04 -07:00
parent 1f4c7622d3
commit da80656c36

View file

@ -147,7 +147,7 @@ async def generate_speech(
if model == "eleven_turbo_v2": if model == "eleven_turbo_v2":
info("Using ElevenLabs.") 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) audio_file_path = await elevenlabs_tts(model, text, voice, title, output_dir)
else: # if model == "xtts": else: # if model == "xtts":
info("Using XTTS2") info("Using XTTS2")