Our great sponsors
-
mecab-python3
:snake: mecab-python. you can find original version here:http://taku910.github.io/mecab/
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Read this first! Installing dependencies (tts to be exact) will probably fail, since some of the modules are do not have wheels compiled for m1 chips, so do pip install --no-dependencies tts, then manually install them one by one that you need. If you get torchaudio errors like torchaudio/lib/libtorchaudio.so, 0x0006): Symbol not found: __ZN2at8internal15invoke_parallelExxxRKNSt3__18functionIFvxxEEE, uninstall pytorch and install it with torchaudio conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 -c pytorch. If you see ModuleNotFoundError: [!] Config for vits cannot be found, run python and try importing tts core import TTS.tts.configs.vits_config. I will probably fail with mecab error, you can try building it from source to install mecab, but it didn't work for me, so since this lib is only used for japanese tts, I decided to comment out the imports in site-packages/TTS/tts/utils/text/japanese/phonemizer.py, same for jieba in /site-packages/TTS/tts/utils/text/chinese_mandarin/phonemizer.py just because it is too heavy. Last error: No espeak backend found. Install espeak-ng or espeak to your system, soulution for macos: brew install espeak.
Read this first! Installing dependencies (tts to be exact) will probably fail, since some of the modules are do not have wheels compiled for m1 chips, so do pip install --no-dependencies tts, then manually install them one by one that you need. If you get torchaudio errors like torchaudio/lib/libtorchaudio.so, 0x0006): Symbol not found: __ZN2at8internal15invoke_parallelExxxRKNSt3__18functionIFvxxEEE, uninstall pytorch and install it with torchaudio conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 -c pytorch. If you see ModuleNotFoundError: [!] Config for vits cannot be found, run python and try importing tts core import TTS.tts.configs.vits_config. I will probably fail with mecab error, you can try building it from source to install mecab, but it didn't work for me, so since this lib is only used for japanese tts, I decided to comment out the imports in site-packages/TTS/tts/utils/text/japanese/phonemizer.py, same for jieba in /site-packages/TTS/tts/utils/text/chinese_mandarin/phonemizer.py just because it is too heavy. Last error: No espeak backend found. Install espeak-ng or espeak to your system, soulution for macos: brew install espeak.