Auto-update: Thu Aug 8 17:37:03 PDT 2024
This commit is contained in:
parent
f735a74f96
commit
dab9057949
1 changed files with 1 additions and 0 deletions
|
@ -212,6 +212,7 @@ async def get_model(voice: str = None, voice_file: UploadFile = None):
|
||||||
|
|
||||||
async def determine_voice_id(voice_name: str) -> str:
|
async def determine_voice_id(voice_name: str) -> str:
|
||||||
debug(f"Searching for voice id for {voice_name}")
|
debug(f"Searching for voice id for {voice_name}")
|
||||||
|
debug(f"Tts.elevenlabs.voices: {Tts.elevenlabs.voices}")
|
||||||
|
|
||||||
if voice_name in Tts.elevenlabs.voices:
|
if voice_name in Tts.elevenlabs.voices:
|
||||||
voice_id = hardcoded_voices[voice_name]
|
voice_id = hardcoded_voices[voice_name]
|
||||||
|
|
Loading…
Reference in a new issue