Instructions to use Supertone/supertonic-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Supertonic
How to use Supertone/supertonic-2 with Supertonic:
from supertonic import TTS tts = TTS(auto_download=True) style = tts.get_voice_style(voice_name="M1") text = "The train delay was announced at 4:45 PM on Wed, Apr 3, 2024 due to track maintenance." wav, duration = tts.synthesize(text, voice_style=style) tts.save_audio(wav, "output.wav")
- Notebooks
- Google Colab
- Kaggle
How to change language in python?
#19
by paulomarquesm - opened
I'm trying to import supertonicv2 to my project, tried to read documentation, tried to ask AI, and nothing solve my problem.
i tried several thing:
lang=pt
lang=pt-br
lang=pt_br
lang=porguese
language=pt
and all other combinations.
please help!!
If you are talking about tts.synthesize parameters, then I think it is lang="pt".