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
Polish Support
#18
by MattyMroz - opened
Will Supertonic support Polish language?
I am also interested in Polish language support
Thanks for the request, and sorry for the wait.
Polish is now supported in Supertonic 3. The updated model expands language support from 5 languages to 31 languages, including Polish (pl).
You can try the updated release here:
- Hugging Face demo: https://huggingface.co/spaces/Supertone/supertonic-3
- Model: https://huggingface.co/Supertone/supertonic-3
- GitHub: https://github.com/supertone-inc/supertonic
For Python SDK usage, set lang="pl":
from supertonic import TTS
tts = TTS(auto_download=True)
style = tts.get_voice_style("M1")
wav, duration = tts.synthesize(
"Dzisiaj jest 艂adna pogoda, wi臋c p贸jdziemy na spacer po obiedzie.",
voice_style=style,
lang="pl",
)
tts.save_audio(wav, "polish.wav")
Please give the updated model a try, and let us know if you run into any issues with Polish synthesis.
juheon2 changed discussion status to closed