Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Voice #32

Open
EtahReign opened this issue Jun 22, 2023 · 1 comment
Open

Custom Voice #32

EtahReign opened this issue Jun 22, 2023 · 1 comment

Comments

@EtahReign
Copy link

Hello,

I purchased a custom voice from Cereproc. How can I use the custom voice with this interface?

@Braunfeltd
Copy link

you would have to build your your connection into the tts.py currently supports these: if TTS_PROVIDER == "gTTS":
return _gtts_to_speech(text, background_tasks)
elif TTS_PROVIDER == "ELEVENLABS":
return _elevenlabs_to_speech(text, background_tasks)
elif TTS_PROVIDER == "STREAMELEMENTS":
return _streamelements_to_speech(text, background_tasks)
elif TTS_PROVIDER == "EDGETTS":
return await _edge_tts_to_speech(text, background_tasks)
else:
raise ValueError(f"env var TTS_PROVIDER set to unsupported value: {TTS_PROVIDER}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants